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.002004/0.002004, allocations: 106.9 kB / 16.45 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.002444/0.002444, 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.514/1.514, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.386/3.386, allocations: 0.4899 GB / 0.7915 GB, free: 33.27 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.002136/0.002136, allocations: 85.23 kB / 1.149 GB, free: 25.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.362, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.209/0.571, allocations: 171.8 MB / 1.489 GB, free: 6.375 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02355/0.5946, allocations: 17.25 MB / 1.506 GB, free: 5.066 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.5962, allocations: 39.62 kB / 1.506 GB, free: 5.027 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.598, allocations: 0.574 MB / 1.506 GB, free: 4.449 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005055/0.6031, allocations: 1.663 MB / 1.508 GB, free: 2.781 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.6068, allocations: 1.347 MB / 1.509 GB, free: 1.445 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003919/0.6107, allocations: 2.707 MB / 1.512 GB, free: 14.73 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002517/0.6132, allocations: 1.558 MB / 1.514 GB, free: 13.11 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005913/0.6191, allocations: 1.432 MB / 1.515 GB, free: 11.72 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.621, allocations: 1.011 MB / 1.516 GB, free: 10.7 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0007033/0.6217, allocations: 208 kB / 1.516 GB, free: 10.5 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003552/0.6253, allocations: 1.497 MB / 1.518 GB, free: 9 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008295/0.6261, allocations: 0.5608 MB / 1.518 GB, free: 8.438 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001738/0.6279, allocations: 1.038 MB / 1.519 GB, free: 7.395 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005581/0.6334, allocations: 3.18 MB / 1.522 GB, free: 4.203 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6335, allocations: 0 / 1.522 GB, free: 4.203 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6335, allocations: 0 / 1.522 GB, free: 4.203 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.424e-05/0.6335, allocations: 4 kB / 1.522 GB, free: 4.199 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.004986/0.6385, allocations: 2.375 MB / 1.525 GB, free: 1.758 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.6386, allocations: 15.98 kB / 1.525 GB, free: 1.742 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004642/0.6432, allocations: 0.5724 MB / 1.525 GB, free: 1.168 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.6454, allocations: 1.141 MB / 1.526 GB, free: 15.98 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.6455, allocations: 127.4 kB / 1.526 GB, free: 15.86 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003011/0.6458, allocations: 168 kB / 1.527 GB, free: 15.69 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003925/0.6497, allocations: 1.839 MB / 1.528 GB, free: 13.8 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.6498, allocations: 0 / 1.528 GB, free: 13.8 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002287/0.65, allocations: 76 kB / 1.528 GB, free: 13.73 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.65, allocations: 40 kB / 1.528 GB, free: 13.69 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003955/0.654, allocations: 1.875 MB / 1.53 GB, free: 11.81 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/0.6645, allocations: 5.718 MB / 1.536 GB, free: 5.707 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/0.6682, allocations: 1.675 MB / 1.538 GB, free: 3.965 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.6696, allocations: 0.6007 MB / 1.538 GB, free: 3.359 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002018/0.6716, allocations: 1.449 MB / 1.54 GB, free: 1.598 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002093/0.6737, allocations: 0.8918 MB / 1.54 GB, free: 0.6836 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 4.058e-06/0.6737, allocations: 0 / 1.54 GB, free: 0.6836 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.007528/0.6812, allocations: 2.557 MB / 1.543 GB, free: 14.02 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/0.6814, allocations: 201.2 kB / 1.543 GB, free: 13.78 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.6831, allocations: 0.8668 MB / 1.544 GB, free: 12.89 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.000214/0.6834, allocations: 57.7 kB / 1.544 GB, free: 12.82 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007343/0.6841, allocations: 0.6539 MB / 1.545 GB, free: 12.16 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005734/0.6847, allocations: 0.4996 MB / 1.545 GB, free: 11.66 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004932/0.6852, allocations: 258.7 kB / 1.545 GB, free: 11.39 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000237/0.6854, allocations: 353.9 kB / 1.546 GB, free: 11.04 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.6866, allocations: 498.3 kB / 1.546 GB, free: 10.56 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.688, allocations: 0.6462 MB / 1.547 GB, free: 9.883 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002544/0.6905, allocations: 1.115 MB / 1.548 GB, free: 8.762 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.6905, allocations: 4 kB / 1.548 GB, free: 8.758 MB / 1.248 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004153/0.6947, allocations: 1.558 MB / 1.549 GB, free: 7.176 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.6947, allocations: 4 kB / 1.549 GB, free: 7.172 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.6947, allocations: 0 / 1.549 GB, free: 7.172 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.6958, allocations: 188.2 kB / 1.55 GB, free: 6.973 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.6975, allocations: 339.5 kB / 1.55 GB, free: 6.641 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007433/0.7049, allocations: 7.295 MB / 1.557 GB, free: 14.64 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.7065, allocations: 155.2 kB / 1.557 GB, free: 14.48 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/0.7067, allocations: 59.94 kB / 1.557 GB, free: 14.43 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: 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.0009271/0.7076, allocations: 375.3 kB / 1.558 GB, free: 14.05 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003551/0.708, allocations: 139.2 kB / 1.558 GB, free: 13.91 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004617/0.7126, allocations: 1.847 MB / 1.56 GB, free: 12.04 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.7126, allocations: 16 kB / 1.56 GB, free: 12.02 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.7126, allocations: 4 kB / 1.56 GB, free: 12.02 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.7127, allocations: 11.91 kB / 1.56 GB, free: 12 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006873/0.7195, allocations: 3.452 MB / 1.563 GB, free: 8.473 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.7195, allocations: 0 / 1.563 GB, free: 8.473 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.7211, allocations: 315.5 kB / 1.563 GB, free: 8.164 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000838/0.7219, allocations: 180.1 kB / 1.563 GB, free: 7.973 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.722, allocations: 39.97 kB / 1.563 GB, free: 7.934 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007278/0.7293, allocations: 7.331 MB / 1.571 GB, free: 15.89 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7293, allocations: 0 / 1.571 GB, free: 15.89 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004617/0.7339, allocations: 1.71 MB / 1.572 GB, free: 14.15 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008177/0.7347, allocations: 415.6 kB / 1.573 GB, free: 13.72 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.7349, allocations: 28 kB / 1.573 GB, free: 13.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.7362, allocations: 103.9 kB / 1.573 GB, free: 13.59 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002917/0.7365, allocations: 109.2 kB / 1.573 GB, free: 13.49 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/0.7367, allocations: 71.94 kB / 1.573 GB, free: 13.42 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0009994/0.7377, allocations: 0.5984 MB / 1.574 GB, free: 12.81 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.7377, allocations: 0 / 1.574 GB, free: 12.81 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002047/0.7397, allocations: 0.6195 MB / 1.574 GB, free: 12.19 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.002613/0.7424, allocations: 0.7275 MB / 1.575 GB, free: 11.64 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003784/0.7461, allocations: 1.809 MB / 1.577 GB, free: 9.762 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.7461, allocations: 0.5625 kB / 1.577 GB, free: 9.762 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002259/0.7484, allocations: 1.254 MB / 1.578 GB, free: 8.445 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/0.751, allocations: 0.5281 MB / 1.578 GB, free: 7.938 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006463/0.7575, allocations: 2.837 MB / 1.581 GB, free: 5.07 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.7587, allocations: 1.308 MB / 1.582 GB, free: 3.734 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001858/0.7605, allocations: 446.4 kB / 1.583 GB, free: 3.293 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004656/0.761, allocations: 151.4 kB / 1.583 GB, free: 3.148 MB / 1.279 GB Notification: Performance of SimCode: time 9.32e-07/0.761, allocations: 4 kB / 1.583 GB, free: 3.145 MB / 1.279 GB Notification: Performance of Templates: time 0.7944/1.555, allocations: 28.43 MB / 1.611 GB, free: 274 MB / 1.295 GB " [Timeout remaining time 298] 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.569003571756184]