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.001005/0.001005, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001082/0.001082, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8514/0.8514, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 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 1.775/1.775, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: 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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.85e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.6594/0.6595, allocations: 148.1 MB / 1.146 GB, free: 7.441 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01688/0.6763, allocations: 15.86 MB / 1.161 GB, free: 12.76 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.6782, allocations: 37.88 kB / 1.161 GB, free: 12.74 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.6797, allocations: 0.5504 MB / 1.162 GB, free: 12.4 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.004735/0.6845, allocations: 1.697 MB / 1.163 GB, free: 11.42 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.6876, allocations: 1.368 MB / 1.165 GB, free: 10.68 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.003494/0.6911, allocations: 2.788 MB / 1.167 GB, free: 9.242 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/0.6931, allocations: 1.453 MB / 1.169 GB, free: 8.465 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003699/0.6968, allocations: 1.904 MB / 1.171 GB, free: 7.645 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.6982, allocations: 0.8013 MB / 1.171 GB, free: 7.348 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.000298/0.6985, allocations: 214.1 kB / 1.172 GB, free: 7.348 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.7013, allocations: 1.308 MB / 1.173 GB, free: 6.965 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0005012/0.7018, allocations: 0.5866 MB / 1.173 GB, free: 6.598 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0008654/0.7027, allocations: 0.7314 MB / 1.174 GB, free: 6.25 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.005479/0.7082, allocations: 3.344 MB / 1.177 GB, free: 4.938 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.7082, allocations: 1.062 kB / 1.177 GB, free: 4.938 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.367e-06/0.7082, allocations: 0.7969 kB / 1.177 GB, free: 4.938 MB / 1.026 GB Notification: Performance of Transformations before backend: time 7.958e-05/0.7083, allocations: 7.938 kB / 1.177 GB, free: 4.93 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00408/0.7124, allocations: 2.29 MB / 1.18 GB, free: 3.508 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.7124, allocations: 10.95 kB / 1.18 GB, free: 3.508 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002606/0.715, allocations: 0.573 MB / 1.18 GB, free: 3.375 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.7166, allocations: 1.064 MB / 1.181 GB, free: 2.738 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.224e-05/0.7167, allocations: 132.5 kB / 1.181 GB, free: 2.68 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.7169, allocations: 171.6 kB / 1.182 GB, free: 2.625 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/0.7196, allocations: 2.618 MB / 1.184 GB, free: 0.9258 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.7197, allocations: 0 / 1.184 GB, free: 0.9258 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.7198, allocations: 74.44 kB / 1.184 GB, free: 0.8711 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/0.7198, allocations: 46.31 kB / 1.184 GB, free: 0.8672 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.722, allocations: 1.833 MB / 1.186 GB, free: 368 kB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005717/0.7278, allocations: 3.915 MB / 1.19 GB, free: 14.28 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.7298, allocations: 1.424 MB / 1.191 GB, free: 13.75 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007782/0.7305, allocations: 0.608 MB / 1.192 GB, free: 13.52 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005924/0.7311, allocations: 177.7 kB / 1.192 GB, free: 13.5 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/0.7325, allocations: 1.515 MB / 1.193 GB, free: 12.4 MB / 1.042 GB Notification: Performance of pre-optimization done (n=154): time 5.49e-06/0.7325, allocations: 0 / 1.193 GB, free: 12.4 MB / 1.042 GB Notification: Performance of matching and sorting (n=154): time 0.003905/0.7364, allocations: 2.217 MB / 1.196 GB, free: 11.43 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.7365, allocations: 204.3 kB / 1.196 GB, free: 11.2 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008664/0.7374, allocations: 0.757 MB / 1.197 GB, free: 10.77 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.7376, allocations: 66.02 kB / 1.197 GB, free: 10.71 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000469/0.738, allocations: 0.6656 MB / 1.197 GB, free: 10.12 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003484/0.7384, allocations: 0.5139 MB / 1.198 GB, free: 9.66 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003059/0.7387, allocations: 271.5 kB / 1.198 GB, free: 9.5 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.7388, allocations: 363.3 kB / 1.198 GB, free: 9.152 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006922/0.7395, allocations: 0.5076 MB / 1.199 GB, free: 8.898 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/0.7403, allocations: 0.9073 MB / 1.2 GB, free: 8.223 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.7417, allocations: 1.173 MB / 1.201 GB, free: 7.609 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.7417, allocations: 3.938 kB / 1.201 GB, free: 7.605 MB / 1.042 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002198/0.7439, allocations: 1.626 MB / 1.203 GB, free: 6.762 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.7439, allocations: 5.5 kB / 1.203 GB, free: 6.762 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.744, allocations: 0 / 1.203 GB, free: 6.762 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004706/0.7444, allocations: 199.3 kB / 1.203 GB, free: 6.645 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000809/0.7452, allocations: 350 kB / 1.203 GB, free: 6.555 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0035/0.7487, allocations: 6.635 MB / 1.21 GB, free: 15.95 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.7497, allocations: 155 kB / 1.21 GB, free: 15.85 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-05/0.7498, allocations: 61.83 kB / 1.21 GB, free: 15.82 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (169): * Single equations (assignments): 164 * 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.0008469/0.7507, allocations: 389.3 kB / 1.21 GB, free: 15.54 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.7509, allocations: 132.5 kB / 1.21 GB, free: 15.47 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.7533, allocations: 1.867 MB / 1.212 GB, free: 14.4 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.7533, allocations: 15.88 kB / 1.212 GB, free: 14.4 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.7533, allocations: 6.531 kB / 1.212 GB, free: 14.4 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.7533, allocations: 11.91 kB / 1.212 GB, free: 14.39 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/0.7575, allocations: 3.223 MB / 1.215 GB, free: 12.37 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.7575, allocations: 0 / 1.215 GB, free: 12.37 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007518/0.7583, allocations: 315.1 kB / 1.216 GB, free: 12.3 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003702/0.7586, allocations: 180.3 kB / 1.216 GB, free: 12.19 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.493e-05/0.7587, allocations: 42.41 kB / 1.216 GB, free: 12.16 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00328/0.762, allocations: 6.676 MB / 1.222 GB, free: 5.539 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.762, allocations: 0 / 1.222 GB, free: 5.539 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.7649, allocations: 1.757 MB / 1.224 GB, free: 4.574 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007878/0.7656, allocations: 322.9 kB / 1.224 GB, free: 4.336 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.7658, allocations: 38.38 kB / 1.224 GB, free: 4.309 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006712/0.7665, allocations: 105.7 kB / 1.224 GB, free: 4.254 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/0.7667, allocations: 124.7 kB / 1.225 GB, free: 4.172 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.7669, allocations: 70.52 kB / 1.225 GB, free: 4.145 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0006203/0.7675, allocations: 0.5182 MB / 1.225 GB, free: 3.848 MB / 1.057 GB Notification: Performance of sort global known variables: time 5.1e-08/0.7675, allocations: 0 / 1.225 GB, free: 3.848 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002069/0.7696, allocations: 0.6346 MB / 1.226 GB, free: 3.656 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001514/0.7711, allocations: 0.7821 MB / 1.227 GB, free: 3.238 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.002464/0.7735, allocations: 1.874 MB / 1.228 GB, free: 1.301 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.7735, allocations: 4.891 kB / 1.228 GB, free: 1.293 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.7748, allocations: 1.262 MB / 1.23 GB, free: 15.97 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.7762, allocations: 479.8 kB / 1.23 GB, free: 15.51 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.7801, allocations: 2.896 MB / 1.233 GB, free: 12.59 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/0.7808, allocations: 0.7174 MB / 1.234 GB, free: 11.84 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.7813, allocations: 180.4 kB / 1.234 GB, free: 11.66 MB / 1.073 GB Notification: Performance of SimCode: time 1.894e-06/0.7813, allocations: 0 / 1.234 GB, free: 11.66 MB / 1.073 GB Notification: Performance of Templates: time 0.04517/0.8265, allocations: 58.76 MB / 1.291 GB, free: 0.8828 MB / 1.12 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 800] 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/jenkins/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] "" Variables in the reference:time,weaDat.weaBus.winDir,north.pWin,west.pWin,east.pWin,south.pWin Variables in the result:east.pWin,north.pWin,south.pWin,time,weaDat.weaBus.winDir,west.pWin [Calling sys.exit(0), Time elapsed: 11.488096116110682]