Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009835/0.0009835, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007511/0.007511, allocations: 172.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003178, allocations: 15.94 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5616/0.562, allocations: 142.4 MB / 0.9552 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2345/0.7965, allocations: 248.7 MB / 1.198 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02316/0.8197, allocations: 20.54 MB / 1.218 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.8218, allocations: 75.31 kB / 1.218 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.8235, allocations: 0.6637 MB / 1.219 GB, free: 440 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006142/0.8296, allocations: 2.723 MB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005656/0.8353, allocations: 2.509 MB / 1.224 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005371/0.8407, allocations: 5.063 MB / 1.229 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.8421, allocations: 1.053 MB / 1.23 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002103/0.8442, allocations: 1.236 MB / 1.231 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.8453, allocations: 1.038 MB / 1.232 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.8454, allocations: 52 kB / 1.232 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008225/0.8537, allocations: 5.058 MB / 1.237 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005116/0.8542, allocations: 0.5919 MB / 1.238 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000837/0.855, allocations: 0.9187 MB / 1.239 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005586/0.8606, allocations: 4.455 MB / 1.243 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8606, allocations: 4 kB / 1.243 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8606, allocations: 0 / 1.243 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.767e-05/0.8607, allocations: 0 / 1.243 GB, free: 7.637 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002461/0.8631, allocations: 1.906 MB / 1.245 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.8632, allocations: 8.031 kB / 1.245 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/0.8634, allocations: 194 kB / 1.245 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.8653, allocations: 481 kB / 1.245 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.867, allocations: 1.263 MB / 1.247 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/0.8671, allocations: 98.42 kB / 1.247 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.8672, allocations: 124 kB / 1.247 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.8695, allocations: 1.708 MB / 1.249 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.8695, allocations: 15.94 kB / 1.249 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.553e-05/0.8696, allocations: 55.98 kB / 1.249 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.146e-05/0.8697, allocations: 67.91 kB / 1.249 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.8712, allocations: 1.224 MB / 1.25 GB, free: 260 kB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4103/1.282, allocations: 7.557 MB / 1.257 GB, free: 280.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008342/1.282, allocations: 0.6647 MB / 1.258 GB, free: 279.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007325/1.283, allocations: 0.619 MB / 1.259 GB, free: 279.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/1.284, allocations: 1.866 MB / 1.26 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/1.284, allocations: 55.3 kB / 1.26 GB, free: 277.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 3.166e-06/1.284, allocations: 0 / 1.26 GB, free: 277.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72): time 0.002257/1.287, allocations: 1.395 MB / 1.262 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/1.287, allocations: 299.5 kB / 1.262 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/1.289, allocations: 1.886 MB / 1.264 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/1.289, allocations: 38.95 kB / 1.264 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/1.29, allocations: 0.7266 MB / 1.265 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/1.29, allocations: 240.8 kB / 1.265 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/1.29, allocations: 58.84 kB / 1.265 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.676e-05/1.29, allocations: 331.8 kB / 1.265 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/1.29, allocations: 328.1 kB / 1.266 GB, free: 274.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000636/1.291, allocations: 0.5666 MB / 1.266 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/1.292, allocations: 0.8582 MB / 1.267 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.292, allocations: 1.188 kB / 1.267 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001505/1.294, allocations: 1.01 MB / 1.268 GB, free: 273.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.294, allocations: 11.69 kB / 1.268 GB, free: 273.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.294, allocations: 3.188 kB / 1.268 GB, free: 273.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.294, allocations: 6.812 kB / 1.268 GB, free: 273.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/1.294, allocations: 129 kB / 1.268 GB, free: 273.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/1.294, allocations: 7.781 kB / 1.268 GB, free: 273.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007422/1.295, allocations: 137.6 kB / 1.268 GB, free: 273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-05/1.295, allocations: 49.7 kB / 1.268 GB, free: 273 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005005/1.295, allocations: 458 kB / 1.269 GB, free: 272.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/1.296, allocations: 186.9 kB / 1.269 GB, free: 272.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/1.297, allocations: 1.084 MB / 1.27 GB, free: 272 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/1.297, allocations: 18.09 kB / 1.27 GB, free: 272 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.297, allocations: 6.875 kB / 1.27 GB, free: 272 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/1.297, allocations: 10.28 kB / 1.27 GB, free: 272 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008929/1.306, allocations: 8.793 MB / 1.279 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/1.306, allocations: 15.31 kB / 1.279 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/1.307, allocations: 141.2 kB / 1.279 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.141e-05/1.307, allocations: 23 kB / 1.279 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/1.307, allocations: 47.78 kB / 1.279 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.172e-05/1.307, allocations: 31.27 kB / 1.279 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.8e-05/1.307, allocations: 25 kB / 1.279 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/1.308, allocations: 1.662 MB / 1.28 GB, free: 264.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005462/1.309, allocations: 420.6 kB / 1.281 GB, free: 264 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/1.309, allocations: 34.64 kB / 1.281 GB, free: 264 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007023/1.31, allocations: 40.84 kB / 1.281 GB, free: 264 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.31, allocations: 107.1 kB / 1.281 GB, free: 263.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.783e-05/1.31, allocations: 57.2 kB / 1.281 GB, free: 263.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00155/1.312, allocations: 1.316 MB / 1.282 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.312, allocations: 0 / 1.282 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001653/1.313, allocations: 0.5296 MB / 1.283 GB, free: 263.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003595/1.317, allocations: 3.02 MB / 1.286 GB, free: 261.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001057/1.318, allocations: 0.8137 MB / 1.287 GB, free: 260.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.318, allocations: 6.094 kB / 1.287 GB, free: 260.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005344/1.318, allocations: 487.8 kB / 1.287 GB, free: 260.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009489/1.328, allocations: 1.272 MB / 1.288 GB, free: 260 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/1.346, allocations: 16.06 MB / 1.304 GB, free: 246.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/1.347, allocations: 1.402 MB / 1.305 GB, free: 244.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001385/1.348, allocations: 497.4 kB / 1.306 GB, free: 244.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006018/1.349, allocations: 0.6593 MB / 1.307 GB, free: 243.6 MB / 0.9981 GB Notification: Performance of SimCode: time 7.62e-07/1.349, allocations: 0 / 1.307 GB, free: 243.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.168/1.517, allocations: 58.83 MB / 1.364 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/1.517, allocations: 241 kB / 1.364 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.134/4.651, allocations: 0 / 1.364 GB, free: 185.2 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches