Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001331/0.001331, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001465/0.001465, allocations: 216.5 kB / 22.26 MB, free: 5.117 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.317/1.317, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.953/2.953, allocations: 0.505 GB / 0.8101 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_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.001959/0.001959, allocations: 67.2 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.284, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1828/0.4668, allocations: 171.9 MB / 1.521 GB, free: 11.84 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02288/0.4897, allocations: 17.47 MB / 1.538 GB, free: 10.31 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.491, allocations: 43.62 kB / 1.538 GB, free: 10.27 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.4928, allocations: 0.5701 MB / 1.538 GB, free: 9.691 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004599/0.4974, allocations: 1.676 MB / 1.54 GB, free: 8.012 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00343/0.5008, allocations: 1.394 MB / 1.541 GB, free: 6.629 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003626/0.5044, allocations: 2.723 MB / 1.544 GB, free: 3.898 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.507, allocations: 1.536 MB / 1.546 GB, free: 2.305 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004411/0.5114, allocations: 1.437 MB / 1.547 GB, free: 0.9102 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.5131, allocations: 0.9998 MB / 1.548 GB, free: 15.9 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0005563/0.5137, allocations: 212 kB / 1.548 GB, free: 15.7 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00315/0.5168, allocations: 1.517 MB / 1.55 GB, free: 14.18 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007888/0.5176, allocations: 0.5607 MB / 1.55 GB, free: 13.62 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.5192, allocations: 1.042 MB / 1.551 GB, free: 12.57 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004991/0.5242, allocations: 3.187 MB / 1.554 GB, free: 9.371 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5242, allocations: 0 / 1.554 GB, free: 9.371 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5242, allocations: 0 / 1.554 GB, free: 9.371 MB / 1.248 GB Notification: Performance of Transformations before backend: time 7.648e-05/0.5242, allocations: 0 / 1.554 GB, free: 9.371 MB / 1.248 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.004683/0.5289, allocations: 2.294 MB / 1.557 GB, free: 7.027 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.529, allocations: 12.03 kB / 1.557 GB, free: 7.016 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003566/0.5293, allocations: 253 kB / 1.557 GB, free: 6.758 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004119/0.5334, allocations: 0.5724 MB / 1.557 GB, free: 6.184 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.5355, allocations: 1.069 MB / 1.558 GB, free: 5.082 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.5356, allocations: 127.4 kB / 1.559 GB, free: 4.957 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.5358, allocations: 172 kB / 1.559 GB, free: 4.789 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003205/0.539, allocations: 1.839 MB / 1.561 GB, free: 2.898 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.5391, allocations: 4 kB / 1.561 GB, free: 2.895 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.5392, allocations: 71.94 kB / 1.561 GB, free: 2.824 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.5393, allocations: 40 kB / 1.561 GB, free: 2.785 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003242/0.5425, allocations: 1.878 MB / 1.562 GB, free: 0.9023 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008159/0.5507, allocations: 5.654 MB / 1.568 GB, free: 10.86 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002787/0.5534, allocations: 1.37 MB / 1.569 GB, free: 9.488 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.5545, allocations: 0.589 MB / 1.57 GB, free: 8.891 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.5556, allocations: 197 kB / 1.57 GB, free: 8.699 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001663/0.5572, allocations: 0.8878 MB / 1.571 GB, free: 7.793 MB / 1.264 GB Notification: Performance of pre-optimization done (n=146): time 3.186e-06/0.5572, allocations: 0 / 1.571 GB, free: 7.793 MB / 1.264 GB Notification: Performance of matching and sorting (n=146): time 0.005899/0.5631, allocations: 2.188 MB / 1.573 GB, free: 5.582 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.5632, allocations: 201.2 kB / 1.573 GB, free: 5.344 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.5645, allocations: 0.8594 MB / 1.574 GB, free: 4.461 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.5646, allocations: 53.7 kB / 1.574 GB, free: 4.402 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005845/0.5652, allocations: 0.6694 MB / 1.575 GB, free: 3.723 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004451/0.5656, allocations: 0.4957 MB / 1.575 GB, free: 3.223 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/0.566, allocations: 238.8 kB / 1.576 GB, free: 2.984 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5662, allocations: 357.9 kB / 1.576 GB, free: 2.629 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009685/0.5671, allocations: 470.4 kB / 1.576 GB, free: 2.168 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.5683, allocations: 0.634 MB / 1.577 GB, free: 1.496 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/0.5705, allocations: 1.103 MB / 1.578 GB, free: 392 kB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5705, allocations: 0 / 1.578 GB, free: 392 kB / 1.264 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003517/0.574, allocations: 1.511 MB / 1.579 GB, free: 14.85 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.574, allocations: 4 kB / 1.579 GB, free: 14.84 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.574, allocations: 4 kB / 1.58 GB, free: 14.84 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009278/0.575, allocations: 192.2 kB / 1.58 GB, free: 14.64 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.5764, allocations: 327.5 kB / 1.58 GB, free: 14.32 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00628/0.5827, allocations: 6.779 MB / 1.587 GB, free: 6.957 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.584, allocations: 147.1 kB / 1.587 GB, free: 6.812 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.5842, allocations: 51.91 kB / 1.587 GB, free: 6.762 MB / 1.279 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.0008782/0.5851, allocations: 377.6 kB / 1.587 GB, free: 6.383 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004144/0.5855, allocations: 135.2 kB / 1.587 GB, free: 6.25 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/0.5898, allocations: 1.843 MB / 1.589 GB, free: 4.379 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.5898, allocations: 19.98 kB / 1.589 GB, free: 4.359 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.5898, allocations: 4 kB / 1.589 GB, free: 4.355 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.5898, allocations: 11.91 kB / 1.589 GB, free: 4.344 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006467/0.5963, allocations: 3.417 MB / 1.592 GB, free: 0.8594 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5963, allocations: 4 kB / 1.592 GB, free: 0.8555 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.5977, allocations: 311.6 kB / 1.593 GB, free: 0.5508 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00073/0.5984, allocations: 188.1 kB / 1.593 GB, free: 360 kB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.5985, allocations: 43.97 kB / 1.593 GB, free: 316 kB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005851/0.6044, allocations: 6.806 MB / 1.6 GB, free: 8.926 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6044, allocations: 3.938 kB / 1.6 GB, free: 8.922 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003868/0.6083, allocations: 1.714 MB / 1.601 GB, free: 7.172 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008777/0.6091, allocations: 334.6 kB / 1.602 GB, free: 6.844 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.6094, allocations: 31.94 kB / 1.602 GB, free: 6.812 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.6106, allocations: 104.8 kB / 1.602 GB, free: 6.715 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/0.6109, allocations: 117.1 kB / 1.602 GB, free: 6.598 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/0.611, allocations: 71.94 kB / 1.602 GB, free: 6.527 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0008897/0.6119, allocations: 0.5986 MB / 1.603 GB, free: 5.918 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/0.6119, allocations: 0 / 1.603 GB, free: 5.918 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00161/0.6135, allocations: 0.6078 MB / 1.603 GB, free: 5.309 MB / 1.295 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.006007/0.6195, allocations: 2.894 MB / 1.606 GB, free: 2.559 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003234/0.6228, allocations: 1.785 MB / 1.608 GB, free: 0.707 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.6228, allocations: 0.6562 kB / 1.608 GB, free: 0.7031 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.5189/1.142, allocations: 1.247 MB / 1.609 GB, free: 252.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/1.144, allocations: 0.5307 MB / 1.609 GB, free: 252.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01687/1.161, allocations: 10.05 MB / 1.619 GB, free: 248.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007833/1.162, allocations: 1.3 MB / 1.621 GB, free: 247.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001514/1.163, allocations: 437.6 kB / 1.621 GB, free: 247.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007839/1.164, allocations: 0.6607 MB / 1.622 GB, free: 247.4 MB / 1.295 GB Notification: Performance of SimCode: time 8.82e-07/1.164, allocations: 1.406 kB / 1.622 GB, free: 247.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08945/1.253, allocations: 39.13 MB / 1.66 GB, free: 230.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.63, allocations: 7.5 kB / 1.66 GB, free: 230.6 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.83600137778558]