Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001078, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 180.3 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.72/2.72, allocations: 437.8 MB / 0.7128 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003897, allocations: 8 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7144/0.7148, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1696/0.8845, allocations: 163.8 MB / 1.184 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02029/0.9048, allocations: 16.87 MB / 1.2 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.9065, allocations: 27.81 kB / 1.2 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.9079, allocations: 465.1 kB / 1.201 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004475/0.9124, allocations: 1.447 MB / 1.202 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.9156, allocations: 1.177 MB / 1.203 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003462/0.9191, allocations: 2.844 MB / 1.206 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/0.9214, allocations: 1.597 MB / 1.207 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004893/0.9263, allocations: 1.053 MB / 1.208 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.9276, allocations: 0.7616 MB / 1.209 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.9278, allocations: 44 kB / 1.209 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.9307, allocations: 1.396 MB / 1.211 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004052/0.9311, allocations: 366.4 kB / 1.211 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009515/0.9321, allocations: 0.8289 MB / 1.212 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002762/0.9348, allocations: 2.248 MB / 1.214 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9349, allocations: 0 / 1.214 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.685e-06/0.9349, allocations: 0 / 1.214 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.976e-05/0.9349, allocations: 4 kB / 1.214 GB, free: 12.27 MB / 0.9669 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.003659/0.9386, allocations: 1.887 MB / 1.216 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.9387, allocations: 16.03 kB / 1.216 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00364/0.9423, allocations: 0.5089 MB / 1.216 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.9442, allocations: 1.082 MB / 1.217 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.9444, allocations: 131.4 kB / 1.218 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002751/0.9446, allocations: 164 kB / 1.218 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003586/0.9482, allocations: 1.851 MB / 1.219 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.9483, allocations: 0 / 1.219 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/0.9485, allocations: 75.98 kB / 1.22 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.9486, allocations: 44 kB / 1.22 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/0.952, allocations: 1.878 MB / 1.221 GB, free: 4.469 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009331/0.9614, allocations: 5.581 MB / 1.227 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.9648, allocations: 1.777 MB / 1.229 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.9661, allocations: 0.6593 MB / 1.229 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008713/0.9669, allocations: 0.8117 MB / 1.23 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001737/0.9687, allocations: 0.8919 MB / 1.231 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.567e-06/0.9687, allocations: 0 / 1.231 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006364/0.9751, allocations: 2.587 MB / 1.233 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.9752, allocations: 201.2 kB / 1.234 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.9766, allocations: 0.8307 MB / 1.234 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.9768, allocations: 53.7 kB / 1.235 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006134/0.9774, allocations: 0.6407 MB / 1.235 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004952/0.9779, allocations: 484.9 kB / 1.236 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.9781, allocations: 113.7 kB / 1.236 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.9783, allocations: 353.9 kB / 1.236 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.9794, allocations: 0.4944 MB / 1.237 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.9807, allocations: 0.6385 MB / 1.237 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/0.9829, allocations: 1.126 MB / 1.238 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.9829, allocations: 3.984 kB / 1.238 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003761/0.9867, allocations: 1.558 MB / 1.24 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.9868, allocations: 8 kB / 1.24 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.9868, allocations: 0 / 1.24 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009657/0.9878, allocations: 200.2 kB / 1.24 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.9894, allocations: 335.5 kB / 1.24 GB, free: 260 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005931/0.9953, allocations: 6.786 MB / 1.247 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.9971, allocations: 187.3 kB / 1.247 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/0.9974, allocations: 59.95 kB / 1.247 GB, free: 8.555 MB / 0.9981 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.001065/0.9985, allocations: 377.6 kB / 1.248 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000437/0.9989, allocations: 130.4 kB / 1.248 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004614/1.004, allocations: 1.858 MB / 1.249 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/1.004, allocations: 16 kB / 1.249 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.004, allocations: 3.938 kB / 1.249 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/1.004, allocations: 7.969 kB / 1.249 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007027/1.011, allocations: 3.431 MB / 1.253 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/1.011, allocations: 0 / 1.253 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/1.012, allocations: 323.5 kB / 1.253 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008935/1.013, allocations: 200.1 kB / 1.253 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/1.013, allocations: 39.97 kB / 1.253 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6203/1.634, allocations: 6.803 MB / 1.26 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.634, allocations: 4.406 kB / 1.26 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004795/1.638, allocations: 1.715 MB / 1.262 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.64, allocations: 420.9 kB / 1.262 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/1.64, allocations: 28.38 kB / 1.262 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/1.641, allocations: 157.9 kB / 1.262 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/1.642, allocations: 111.4 kB / 1.262 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001763/1.642, allocations: 73.64 kB / 1.262 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009838/1.643, allocations: 0.5775 MB / 1.263 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.643, allocations: 1.484 kB / 1.263 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002094/1.645, allocations: 0.6022 MB / 1.264 GB, free: 222.1 MB / 0.9981 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.001969/1.647, allocations: 0.7354 MB / 1.264 GB, free: 222 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0039/1.651, allocations: 1.874 MB / 1.266 GB, free: 221 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.651, allocations: 2.594 kB / 1.266 GB, free: 221 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002327/1.653, allocations: 1.306 MB / 1.267 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/1.656, allocations: 494.3 kB / 1.268 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/1.663, allocations: 3.628 MB / 1.271 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/1.664, allocations: 1.298 MB / 1.273 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008586/1.665, allocations: 176 kB / 1.273 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.814e-06/1.665, allocations: 0 / 1.273 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.06132/1.727, allocations: 57.37 MB / 1.329 GB, free: 172.8 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches