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.00198/0.00198, 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.002417/0.002417, allocations: 207.6 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.742 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.323/3.323, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [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.002057/0.002057, allocations: 66.27 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3995, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2216/0.6212, allocations: 148.2 MB / 1.47 GB, free: 13.09 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02685/0.648, allocations: 15.93 MB / 1.486 GB, free: 13.11 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.6502, allocations: 39.62 kB / 1.486 GB, free: 13.07 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.6522, allocations: 0.5389 MB / 1.486 GB, free: 12.52 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006017/0.6583, allocations: 1.671 MB / 1.488 GB, free: 10.85 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004313/0.6626, allocations: 1.353 MB / 1.489 GB, free: 9.508 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004928/0.6675, allocations: 2.719 MB / 1.492 GB, free: 6.777 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003004/0.6705, allocations: 1.52 MB / 1.493 GB, free: 5.195 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005222/0.6757, allocations: 1.436 MB / 1.495 GB, free: 3.801 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/0.6785, allocations: 0.911 MB / 1.496 GB, free: 2.887 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0007559/0.6792, allocations: 212 kB / 1.496 GB, free: 2.68 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004699/0.6839, allocations: 1.283 MB / 1.497 GB, free: 1.395 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.6849, allocations: 0.5647 MB / 1.498 GB, free: 0.8281 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001733/0.6867, allocations: 0.8633 MB / 1.499 GB, free: 15.96 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00667/0.6933, allocations: 3.172 MB / 1.502 GB, free: 12.78 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.6933, allocations: 0 / 1.502 GB, free: 12.78 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6934, allocations: 0 / 1.502 GB, free: 12.78 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.512e-05/0.6934, allocations: 0 / 1.502 GB, free: 12.78 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.00515/0.6986, allocations: 2.29 MB / 1.504 GB, free: 10.44 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.6986, allocations: 12.03 kB / 1.504 GB, free: 10.43 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004453/0.7031, allocations: 0.5763 MB / 1.505 GB, free: 9.852 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.7056, allocations: 1.061 MB / 1.506 GB, free: 8.762 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.7057, allocations: 127.4 kB / 1.506 GB, free: 8.637 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/0.706, allocations: 167.9 kB / 1.506 GB, free: 8.473 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004273/0.7102, allocations: 2.604 MB / 1.508 GB, free: 5.633 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/0.7103, allocations: 0 / 1.508 GB, free: 5.633 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.7104, allocations: 76 kB / 1.508 GB, free: 5.559 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.647e-05/0.7105, allocations: 43.98 kB / 1.509 GB, free: 5.516 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003586/0.7141, allocations: 1.824 MB / 1.51 GB, free: 3.688 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008402/0.7225, allocations: 3.718 MB / 1.514 GB, free: 15.9 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/0.7256, allocations: 1.36 MB / 1.515 GB, free: 14.54 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.7269, allocations: 0.6006 MB / 1.516 GB, free: 13.93 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/0.728, allocations: 177.1 kB / 1.516 GB, free: 13.76 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00226/0.7303, allocations: 1.508 MB / 1.517 GB, free: 12.09 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.837e-06/0.7303, allocations: 4 kB / 1.517 GB, free: 12.09 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.006582/0.7368, allocations: 2.176 MB / 1.52 GB, free: 9.887 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/0.737, allocations: 197.2 kB / 1.52 GB, free: 9.652 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.7383, allocations: 0.7552 MB / 1.521 GB, free: 8.887 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000175/0.7385, allocations: 61.69 kB / 1.521 GB, free: 8.82 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006974/0.7392, allocations: 0.6732 MB / 1.521 GB, free: 8.137 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005606/0.7398, allocations: 0.4919 MB / 1.522 GB, free: 7.641 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/0.7402, allocations: 258.8 kB / 1.522 GB, free: 7.383 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.7404, allocations: 353.9 kB / 1.522 GB, free: 7.031 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.7416, allocations: 0.4906 MB / 1.523 GB, free: 6.539 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.743, allocations: 0.8682 MB / 1.524 GB, free: 5.59 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/0.7454, allocations: 1.122 MB / 1.525 GB, free: 4.457 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.7454, allocations: 0 / 1.525 GB, free: 4.457 MB / 1.217 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004001/0.7494, allocations: 1.539 MB / 1.526 GB, free: 2.895 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.7494, allocations: 4 kB / 1.526 GB, free: 2.891 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.7494, allocations: 7.938 kB / 1.526 GB, free: 2.883 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009615/0.7504, allocations: 184.2 kB / 1.526 GB, free: 2.688 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.752, allocations: 347.5 kB / 1.527 GB, free: 2.348 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006981/0.759, allocations: 6.649 MB / 1.533 GB, free: 11.18 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.7607, allocations: 145.2 kB / 1.533 GB, free: 11.04 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.7608, allocations: 55.95 kB / 1.533 GB, free: 10.99 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (156): * Single equations (assignments): 151 * 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.0009334/0.7618, allocations: 379.2 kB / 1.534 GB, free: 10.61 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003684/0.7621, allocations: 131.2 kB / 1.534 GB, free: 10.48 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004438/0.7666, allocations: 1.834 MB / 1.536 GB, free: 8.617 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.7666, allocations: 16 kB / 1.536 GB, free: 8.602 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.7666, allocations: 7.938 kB / 1.536 GB, free: 8.594 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.7666, allocations: 11.91 kB / 1.536 GB, free: 8.582 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006661/0.7733, allocations: 2.988 MB / 1.539 GB, free: 5.539 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7733, allocations: 4 kB / 1.539 GB, free: 5.535 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/0.7748, allocations: 315.6 kB / 1.539 GB, free: 5.227 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007787/0.7755, allocations: 180.1 kB / 1.539 GB, free: 5.035 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.7757, allocations: 43.95 kB / 1.539 GB, free: 4.992 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007114/0.7828, allocations: 6.668 MB / 1.546 GB, free: 13.8 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.7828, allocations: 3.938 kB / 1.546 GB, free: 13.8 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004693/0.7875, allocations: 1.714 MB / 1.547 GB, free: 12.05 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.7886, allocations: 322.6 kB / 1.548 GB, free: 11.73 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/0.7889, allocations: 31.98 kB / 1.548 GB, free: 11.7 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.7902, allocations: 98.34 kB / 1.548 GB, free: 11.61 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/0.7905, allocations: 117.1 kB / 1.548 GB, free: 11.49 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/0.7907, allocations: 75.95 kB / 1.548 GB, free: 11.41 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001053/0.7918, allocations: 0.5263 MB / 1.549 GB, free: 10.89 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.7918, allocations: 0 / 1.549 GB, free: 10.89 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002142/0.7939, allocations: 0.6272 MB / 1.549 GB, free: 10.27 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.002896/0.7968, allocations: 0.761 MB / 1.55 GB, free: 9.707 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004185/0.801, allocations: 1.817 MB / 1.552 GB, free: 7.828 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.801, allocations: 0.6562 kB / 1.552 GB, free: 7.828 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002471/0.8035, allocations: 1.25 MB / 1.553 GB, free: 6.512 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002742/0.8062, allocations: 0.4975 MB / 1.553 GB, free: 6.039 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007214/0.8134, allocations: 2.825 MB / 1.556 GB, free: 3.184 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.8147, allocations: 0.7212 MB / 1.557 GB, free: 2.43 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002197/0.8169, allocations: 433.7 kB / 1.557 GB, free: 2.004 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006085/0.8175, allocations: 151.3 kB / 1.557 GB, free: 1.855 MB / 1.248 GB Notification: Performance of SimCode: time 1.673e-06/0.8175, allocations: 0 / 1.557 GB, free: 1.855 MB / 1.248 GB Notification: Performance of Templates: time 0.05794/0.8754, allocations: 29.58 MB / 1.586 GB, free: 4.773 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 400] 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/jenkins/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: 11.237165808677673]