Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 212.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.361/1.361, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.917/2.917, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 66.88 kB / 1.153 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.285, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.173/0.4581, allocations: 148.2 MB / 1.47 GB, free: 13.61 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0214/0.4795, allocations: 15.94 MB / 1.485 GB, free: 13.62 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.4808, allocations: 43.62 kB / 1.485 GB, free: 13.58 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.4822, allocations: 0.5389 MB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00435/0.4866, allocations: 1.664 MB / 1.488 GB, free: 11.37 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.4898, allocations: 1.35 MB / 1.489 GB, free: 10.03 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003641/0.4935, allocations: 2.727 MB / 1.492 GB, free: 7.293 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.4957, allocations: 1.508 MB / 1.493 GB, free: 5.719 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003943/0.4996, allocations: 1.444 MB / 1.494 GB, free: 4.32 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.501, allocations: 0.906 MB / 1.495 GB, free: 3.41 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003341/0.5013, allocations: 208 kB / 1.496 GB, free: 3.207 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002575/0.5039, allocations: 1.295 MB / 1.497 GB, free: 1.91 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005253/0.5044, allocations: 0.5646 MB / 1.497 GB, free: 1.344 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009123/0.5053, allocations: 0.8594 MB / 1.498 GB, free: 492 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004062/0.5094, allocations: 3.172 MB / 1.501 GB, free: 13.3 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5094, allocations: 0 / 1.501 GB, free: 13.3 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5094, allocations: 4 kB / 1.501 GB, free: 13.29 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.493e-05/0.5095, allocations: 4 kB / 1.501 GB, free: 13.29 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003784/0.5132, allocations: 2.294 MB / 1.504 GB, free: 10.95 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.5133, allocations: 8.031 kB / 1.504 GB, free: 10.94 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003126/0.5136, allocations: 253 kB / 1.504 GB, free: 10.68 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004072/0.5177, allocations: 0.5724 MB / 1.504 GB, free: 10.11 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.5196, allocations: 1.061 MB / 1.505 GB, free: 9.016 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.5197, allocations: 127.4 kB / 1.505 GB, free: 8.891 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.52, allocations: 168 kB / 1.506 GB, free: 8.727 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003546/0.5235, allocations: 2.608 MB / 1.508 GB, free: 5.883 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.5235, allocations: 0 / 1.508 GB, free: 5.883 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.5237, allocations: 76 kB / 1.508 GB, free: 5.809 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.5237, allocations: 43.98 kB / 1.508 GB, free: 5.766 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003382/0.5271, allocations: 1.828 MB / 1.51 GB, free: 3.934 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007425/0.5345, allocations: 3.959 MB / 1.514 GB, free: 15.89 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002857/0.5374, allocations: 1.361 MB / 1.515 GB, free: 14.54 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/0.5385, allocations: 0.5851 MB / 1.516 GB, free: 13.94 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009681/0.5395, allocations: 185.1 kB / 1.516 GB, free: 13.76 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002001/0.5415, allocations: 1.502 MB / 1.518 GB, free: 12.09 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.426e-06/0.5415, allocations: 0 / 1.518 GB, free: 12.09 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.005916/0.5474, allocations: 2.18 MB / 1.52 GB, free: 9.891 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.5475, allocations: 201.2 kB / 1.52 GB, free: 9.652 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.5487, allocations: 0.8672 MB / 1.521 GB, free: 8.762 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.5489, allocations: 53.7 kB / 1.521 GB, free: 8.703 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005872/0.5495, allocations: 0.6655 MB / 1.521 GB, free: 8.027 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004384/0.5499, allocations: 0.4996 MB / 1.522 GB, free: 7.523 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003822/0.5503, allocations: 238.8 kB / 1.522 GB, free: 7.285 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5504, allocations: 353.9 kB / 1.522 GB, free: 6.934 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.5514, allocations: 474.4 kB / 1.523 GB, free: 6.469 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.5527, allocations: 0.8638 MB / 1.524 GB, free: 5.512 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/0.5549, allocations: 1.095 MB / 1.525 GB, free: 4.406 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.5549, allocations: 11.94 kB / 1.525 GB, free: 4.395 MB / 1.217 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003551/0.5585, allocations: 1.5 MB / 1.526 GB, free: 2.871 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.5585, allocations: 7.938 kB / 1.526 GB, free: 2.863 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5585, allocations: 96 / 1.526 GB, free: 2.863 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009185/0.5594, allocations: 204.1 kB / 1.526 GB, free: 2.648 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.5609, allocations: 327.5 kB / 1.527 GB, free: 2.328 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006269/0.5672, allocations: 6.753 MB / 1.533 GB, free: 11 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.5689, allocations: 151.2 kB / 1.534 GB, free: 10.85 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.5691, allocations: 51.97 kB / 1.534 GB, free: 10.8 MB / 1.233 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009761/0.5701, allocations: 373.5 kB / 1.534 GB, free: 10.43 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004291/0.5705, allocations: 143.2 kB / 1.534 GB, free: 10.29 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/0.5748, allocations: 1.843 MB / 1.536 GB, free: 8.414 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.5748, allocations: 20 kB / 1.536 GB, free: 8.395 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5748, allocations: 0 / 1.536 GB, free: 8.395 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.5749, allocations: 7.969 kB / 1.536 GB, free: 8.387 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006326/0.5812, allocations: 3.202 MB / 1.539 GB, free: 5.117 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5812, allocations: 0 / 1.539 GB, free: 5.117 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.5826, allocations: 311.6 kB / 1.539 GB, free: 4.812 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007281/0.5833, allocations: 192 kB / 1.54 GB, free: 4.609 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.5834, allocations: 39.97 kB / 1.54 GB, free: 4.57 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00607/0.5895, allocations: 6.771 MB / 1.546 GB, free: 13.21 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.5895, allocations: 0 / 1.546 GB, free: 13.21 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003844/0.5933, allocations: 1.721 MB / 1.548 GB, free: 11.46 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008541/0.5942, allocations: 334.5 kB / 1.548 GB, free: 11.13 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.5944, allocations: 24 kB / 1.548 GB, free: 11.11 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.5955, allocations: 109.5 kB / 1.548 GB, free: 11 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/0.5957, allocations: 125 kB / 1.548 GB, free: 10.88 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/0.5959, allocations: 67.95 kB / 1.548 GB, free: 10.81 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008684/0.5967, allocations: 0.5986 MB / 1.549 GB, free: 10.2 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.5967, allocations: 0 / 1.549 GB, free: 10.2 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001507/0.5982, allocations: 0.6117 MB / 1.55 GB, free: 9.59 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006026/0.6043, allocations: 2.92 MB / 1.553 GB, free: 6.84 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003228/0.6075, allocations: 1.793 MB / 1.554 GB, free: 4.98 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/0.6075, allocations: 8.656 kB / 1.554 GB, free: 4.973 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00194/0.6094, allocations: 1.243 MB / 1.555 GB, free: 3.668 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.6115, allocations: 0.5289 MB / 1.556 GB, free: 3.16 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/0.6288, allocations: 10.05 MB / 1.566 GB, free: 8.934 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008099/0.6296, allocations: 0.7138 MB / 1.567 GB, free: 8.188 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001517/0.6311, allocations: 438.4 kB / 1.567 GB, free: 7.754 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009706/0.6321, allocations: 0.6554 MB / 1.568 GB, free: 7.102 MB / 1.264 GB Notification: Performance of SimCode: time 8.32e-07/0.6321, allocations: 0 / 1.568 GB, free: 7.102 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6304/1.262, allocations: 40.94 MB / 1.608 GB, free: 276.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/15.28, allocations: 6.016 kB / 1.608 GB, free: 276.7 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.596403668168932]