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.001514/0.001514, allocations: 113 kB / 16.46 MB, free: 6.453 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.001666/0.001666, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.426/1.426, allocations: 230.6 MB / 252.8 MB, free: 8.98 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 3.09/3.09, allocations: 0.49 GB / 0.7916 GB, free: 33.21 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.002866/0.002866, allocations: 73.67 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3167, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1875/0.5042, allocations: 171.8 MB / 1.489 GB, free: 6.875 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02345/0.5277, allocations: 17.24 MB / 1.505 GB, free: 5.578 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.5292, allocations: 43.62 kB / 1.505 GB, free: 5.535 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.5309, allocations: 0.5662 MB / 1.506 GB, free: 4.965 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004727/0.5357, allocations: 1.678 MB / 1.508 GB, free: 3.285 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003646/0.5393, allocations: 1.34 MB / 1.509 GB, free: 1.953 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003703/0.543, allocations: 2.719 MB / 1.512 GB, free: 15.22 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.5453, allocations: 1.546 MB / 1.513 GB, free: 13.61 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004053/0.5494, allocations: 1.435 MB / 1.515 GB, free: 12.22 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.5508, allocations: 1.004 MB / 1.515 GB, free: 11.21 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004065/0.5512, allocations: 211.9 kB / 1.516 GB, free: 11.01 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.5543, allocations: 1.501 MB / 1.517 GB, free: 9.504 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006369/0.5549, allocations: 0.5608 MB / 1.518 GB, free: 8.941 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.5562, allocations: 1.042 MB / 1.519 GB, free: 7.895 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004693/0.5609, allocations: 3.176 MB / 1.522 GB, free: 4.707 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5609, allocations: 0 / 1.522 GB, free: 4.707 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5609, allocations: 4 kB / 1.522 GB, free: 4.703 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.66e-05/0.5609, allocations: 0 / 1.522 GB, free: 4.703 MB / 1.217 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.004043/0.5649, allocations: 2.373 MB / 1.524 GB, free: 2.262 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.565, allocations: 11.98 kB / 1.524 GB, free: 2.25 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003132/0.5653, allocations: 253 kB / 1.524 GB, free: 1.992 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004345/0.5696, allocations: 0.5802 MB / 1.525 GB, free: 1.41 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.5715, allocations: 1.145 MB / 1.526 GB, free: 224 kB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.5716, allocations: 123.4 kB / 1.526 GB, free: 100 kB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002556/0.5719, allocations: 168.1 kB / 1.526 GB, free: 15.93 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003324/0.5752, allocations: 1.835 MB / 1.528 GB, free: 14.04 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.5752, allocations: 7.938 kB / 1.528 GB, free: 14.04 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.5754, allocations: 76 kB / 1.528 GB, free: 13.96 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.5754, allocations: 40 kB / 1.528 GB, free: 13.92 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003593/0.579, allocations: 1.878 MB / 1.53 GB, free: 12.04 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008825/0.5878, allocations: 5.745 MB / 1.536 GB, free: 5.914 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00324/0.5911, allocations: 1.665 MB / 1.537 GB, free: 4.184 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.5923, allocations: 0.5929 MB / 1.538 GB, free: 3.586 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/0.5941, allocations: 1.457 MB / 1.539 GB, free: 1.816 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001783/0.5958, allocations: 0.888 MB / 1.54 GB, free: 0.9062 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 3.347e-06/0.5959, allocations: 0 / 1.54 GB, free: 0.9062 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.006674/0.6025, allocations: 2.553 MB / 1.543 GB, free: 14.24 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.6027, allocations: 205.2 kB / 1.543 GB, free: 14 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.6039, allocations: 0.8633 MB / 1.544 GB, free: 13.11 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001868/0.6041, allocations: 53.7 kB / 1.544 GB, free: 13.05 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006054/0.6047, allocations: 0.6694 MB / 1.544 GB, free: 12.38 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.000519/0.6053, allocations: 0.4957 MB / 1.545 GB, free: 11.88 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004072/0.6057, allocations: 234.8 kB / 1.545 GB, free: 11.64 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.6058, allocations: 353.9 kB / 1.545 GB, free: 11.29 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.6069, allocations: 478.4 kB / 1.546 GB, free: 10.82 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.6081, allocations: 0.6379 MB / 1.547 GB, free: 10.14 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/0.6104, allocations: 1.099 MB / 1.548 GB, free: 9.035 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.6104, allocations: 0 / 1.548 GB, free: 9.035 MB / 1.248 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003652/0.6141, allocations: 1.5 MB / 1.549 GB, free: 7.512 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.6141, allocations: 8 kB / 1.549 GB, free: 7.504 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.6141, allocations: 0 / 1.549 GB, free: 7.504 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009705/0.6151, allocations: 196.2 kB / 1.549 GB, free: 7.297 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.6166, allocations: 327.5 kB / 1.55 GB, free: 6.977 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006459/0.6231, allocations: 7.294 MB / 1.557 GB, free: 14.98 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.6244, allocations: 143.2 kB / 1.557 GB, free: 14.84 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.6245, allocations: 55.89 kB / 1.557 GB, free: 14.78 MB / 1.264 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.0007544/0.6253, allocations: 381.5 kB / 1.557 GB, free: 14.4 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.6256, allocations: 147.1 kB / 1.557 GB, free: 14.25 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/0.6299, allocations: 1.839 MB / 1.559 GB, free: 12.39 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.6299, allocations: 16 kB / 1.559 GB, free: 12.37 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6299, allocations: 0 / 1.559 GB, free: 12.37 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.6299, allocations: 7.969 kB / 1.559 GB, free: 12.36 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006297/0.6362, allocations: 3.46 MB / 1.563 GB, free: 8.824 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.6362, allocations: 4 kB / 1.563 GB, free: 8.82 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.6377, allocations: 315.6 kB / 1.563 GB, free: 8.512 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007704/0.6384, allocations: 188.1 kB / 1.563 GB, free: 8.312 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.6386, allocations: 43.91 kB / 1.563 GB, free: 8.27 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006223/0.6448, allocations: 7.312 MB / 1.57 GB, free: 256 kB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6448, allocations: 3.938 kB / 1.57 GB, free: 252 kB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004007/0.6488, allocations: 1.718 MB / 1.572 GB, free: 14.49 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007154/0.6495, allocations: 415.6 kB / 1.572 GB, free: 14.07 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.6497, allocations: 28 kB / 1.572 GB, free: 14.04 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.6509, allocations: 98.33 kB / 1.572 GB, free: 13.95 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002589/0.6512, allocations: 117.1 kB / 1.573 GB, free: 13.83 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/0.6513, allocations: 75.94 kB / 1.573 GB, free: 13.76 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008781/0.6522, allocations: 0.5947 MB / 1.573 GB, free: 13.15 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6522, allocations: 4 kB / 1.573 GB, free: 13.15 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001614/0.6538, allocations: 0.6156 MB / 1.574 GB, free: 12.53 MB / 1.279 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.006233/0.6601, allocations: 2.893 MB / 1.577 GB, free: 9.781 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003489/0.6635, allocations: 1.778 MB / 1.578 GB, free: 7.938 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.6635, allocations: 4.562 kB / 1.578 GB, free: 7.934 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002101/0.6656, allocations: 1.247 MB / 1.58 GB, free: 6.625 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.668, allocations: 0.5243 MB / 1.58 GB, free: 6.121 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/0.6864, allocations: 10.05 MB / 1.59 GB, free: 11.89 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009953/0.6873, allocations: 1.302 MB / 1.591 GB, free: 10.56 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001507/0.6889, allocations: 438.4 kB / 1.592 GB, free: 10.13 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009997/0.6899, allocations: 0.6593 MB / 1.592 GB, free: 9.473 MB / 1.295 GB Notification: Performance of SimCode: time 1.012e-06/0.6899, allocations: 0 / 1.592 GB, free: 9.473 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6413/1.331, allocations: 38.13 MB / 1.63 GB, free: 270.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/15.66, allocations: 9.812 kB / 1.63 GB, free: 270.9 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: 22.201962764840573]