Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Examples.Outside_Cp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",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.007787/0.007787, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.002149/0.002149, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 482.4 MB / 0.7548 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 65.33 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2731, allocations: 162.2 MB / 1.241 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1917/0.4648, allocations: 176.2 MB / 1.414 GB, free: 8.398 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02046/0.4853, allocations: 15.66 MB / 1.429 GB, free: 8.688 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.4864, allocations: 27.88 kB / 1.429 GB, free: 8.66 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.4881, allocations: 0.6167 MB / 1.429 GB, free: 8.039 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003922/0.492, allocations: 1.572 MB / 1.431 GB, free: 6.465 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.4959, allocations: 1.678 MB / 1.433 GB, free: 4.793 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00341/0.4993, allocations: 2.894 MB / 1.435 GB, free: 1.883 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.5016, allocations: 1.844 MB / 1.437 GB, free: 15.98 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003756/0.5053, allocations: 1.592 MB / 1.439 GB, free: 14.42 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.5066, allocations: 1.039 MB / 1.44 GB, free: 13.38 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000294/0.5069, allocations: 200 kB / 1.44 GB, free: 13.18 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.5093, allocations: 1.326 MB / 1.441 GB, free: 11.86 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005399/0.5098, allocations: 0.5764 MB / 1.442 GB, free: 11.28 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.5108, allocations: 1.03 MB / 1.443 GB, free: 10.24 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003544/0.5144, allocations: 3.028 MB / 1.446 GB, free: 7.199 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5144, allocations: 0 / 1.446 GB, free: 7.199 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5144, allocations: 4 kB / 1.446 GB, free: 7.195 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.295e-05/0.5144, allocations: 0 / 1.446 GB, free: 7.195 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.00394/0.5184, allocations: 2.373 MB / 1.448 GB, free: 4.754 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.5184, allocations: 12.03 kB / 1.448 GB, free: 4.742 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002865/0.5187, allocations: 232.4 kB / 1.448 GB, free: 4.504 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/0.5218, allocations: 478.2 kB / 1.449 GB, free: 4.035 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.5235, allocations: 1.149 MB / 1.45 GB, free: 2.84 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.5236, allocations: 119.2 kB / 1.45 GB, free: 2.723 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/0.5239, allocations: 156 kB / 1.45 GB, free: 2.57 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003156/0.527, allocations: 1.792 MB / 1.452 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/0.5271, allocations: 0 / 1.452 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.5272, allocations: 72 kB / 1.452 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.176e-05/0.5273, allocations: 47.98 kB / 1.452 GB, free: 0.582 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/0.5306, allocations: 1.776 MB / 1.454 GB, free: 14.8 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008389/0.539, allocations: 6.312 MB / 1.46 GB, free: 8.09 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.542, allocations: 1.559 MB / 1.462 GB, free: 6.469 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.5431, allocations: 0.5621 MB / 1.462 GB, free: 5.906 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009645/0.544, allocations: 0.8828 MB / 1.463 GB, free: 4.84 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001538/0.5456, allocations: 0.7972 MB / 1.464 GB, free: 4.02 MB / 1.186 GB Notification: Performance of pre-optimization done (n=126): time 2.655e-06/0.5456, allocations: 4 kB / 1.464 GB, free: 4.016 MB / 1.186 GB Notification: Performance of matching and sorting (n=126): time 0.004948/0.5506, allocations: 1.891 MB / 1.466 GB, free: 2.102 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.5507, allocations: 196.9 kB / 1.466 GB, free: 1.863 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.552, allocations: 0.9915 MB / 1.467 GB, free: 0.8555 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.5521, allocations: 49.7 kB / 1.467 GB, free: 0.8008 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/0.5527, allocations: 0.6697 MB / 1.467 GB, free: 124 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003851/0.5531, allocations: 440.4 kB / 1.468 GB, free: 15.68 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003774/0.5535, allocations: 214.9 kB / 1.468 GB, free: 15.47 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.5537, allocations: 349.9 kB / 1.468 GB, free: 15.12 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000975/0.5546, allocations: 430.4 kB / 1.469 GB, free: 14.7 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.5558, allocations: 0.5936 MB / 1.469 GB, free: 14.06 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.5579, allocations: 1.019 MB / 1.47 GB, free: 13.02 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.558, allocations: 0 / 1.47 GB, free: 13.02 MB / 1.201 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003085/0.561, allocations: 1.313 MB / 1.472 GB, free: 11.7 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.5611, allocations: 4 kB / 1.472 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5611, allocations: 4 kB / 1.472 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006081/0.5617, allocations: 84.83 kB / 1.472 GB, free: 11.6 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.563, allocations: 283.6 kB / 1.472 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.5653, allocations: 1.65 MB / 1.474 GB, free: 9.531 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.5663, allocations: 131.2 kB / 1.474 GB, free: 9.402 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.5665, allocations: 52.03 kB / 1.474 GB, free: 9.352 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005825/0.567, allocations: 377.4 kB / 1.474 GB, free: 8.973 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.5673, allocations: 151 kB / 1.474 GB, free: 8.824 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00379/0.5711, allocations: 1.614 MB / 1.476 GB, free: 7.195 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.5711, allocations: 12 kB / 1.476 GB, free: 7.184 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5712, allocations: 0 / 1.476 GB, free: 7.184 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.5712, allocations: 7.969 kB / 1.476 GB, free: 7.176 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005552/0.5767, allocations: 3.167 MB / 1.479 GB, free: 3.949 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5767, allocations: 4 kB / 1.479 GB, free: 3.945 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/0.578, allocations: 263.7 kB / 1.479 GB, free: 3.688 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/0.5785, allocations: 76.78 kB / 1.479 GB, free: 3.609 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.5786, allocations: 43.91 kB / 1.479 GB, free: 3.566 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.5806, allocations: 1.666 MB / 1.481 GB, free: 1.758 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5807, allocations: 3.938 kB / 1.481 GB, free: 1.754 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004447/0.5851, allocations: 2.179 MB / 1.483 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000585/0.5857, allocations: 407.6 kB / 1.483 GB, free: 15.13 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.5859, allocations: 31.98 kB / 1.484 GB, free: 15.1 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.5871, allocations: 93.72 kB / 1.484 GB, free: 15.01 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.5873, allocations: 93.17 kB / 1.484 GB, free: 14.92 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.5874, allocations: 63.95 kB / 1.484 GB, free: 14.86 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009747/0.5884, allocations: 0.684 MB / 1.484 GB, free: 14.16 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5884, allocations: 0 / 1.484 GB, free: 14.16 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001243/0.5897, allocations: 0.5532 MB / 1.485 GB, free: 13.61 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006966/0.5966, allocations: 3.347 MB / 1.488 GB, free: 10.43 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002753/0.5994, allocations: 1.244 MB / 1.489 GB, free: 9.168 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5994, allocations: 448 / 1.489 GB, free: 9.168 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.6009, allocations: 0.7675 MB / 1.49 GB, free: 8.391 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/0.6034, allocations: 0.5731 MB / 1.491 GB, free: 7.836 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/0.6212, allocations: 10.08 MB / 1.501 GB, free: 13.57 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.6223, allocations: 1.315 MB / 1.502 GB, free: 12.23 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001435/0.6237, allocations: 434.8 kB / 1.502 GB, free: 11.8 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.6248, allocations: 0.6593 MB / 1.503 GB, free: 11.14 MB / 1.232 GB Notification: Performance of SimCode: time 4.11e-07/0.6248, allocations: 4 kB / 1.503 GB, free: 11.14 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07907/0.7038, allocations: 37.4 MB / 1.539 GB, free: 6.18 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.68, allocations: 10.84 kB / 1.539 GB, free: 6.176 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches