Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001141/0.001141, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.347/2.347, allocations: 390.9 MB / 0.666 GB, free: 2.555 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 11.98 kB / 0.8154 GB, free: 13.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6979/0.6983, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.195/0.8934, allocations: 151.6 MB / 1.103 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03072/0.9242, allocations: 15.68 MB / 1.118 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.9258, allocations: 27.81 kB / 1.118 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.9277, allocations: 365.4 kB / 1.118 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005058/0.9328, allocations: 1.178 MB / 1.119 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003948/0.9368, allocations: 1.008 MB / 1.12 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004056/0.9409, allocations: 2.361 MB / 1.123 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003452/0.9443, allocations: 1.449 MB / 1.124 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003019/0.9474, allocations: 0.922 MB / 1.125 GB, free: 500 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.9486, allocations: 0.6996 MB / 1.126 GB, free: 15.79 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.0003036/0.9489, allocations: 40 kB / 1.126 GB, free: 15.75 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.9515, allocations: 0.9047 MB / 1.127 GB, free: 14.84 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.0005353/0.9521, allocations: 362.5 kB / 1.127 GB, free: 14.48 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.0005572/0.9527, allocations: 332.7 kB / 1.127 GB, free: 14.15 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.00297/0.9556, allocations: 2.174 MB / 1.129 GB, free: 11.97 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.9557, allocations: 0 / 1.129 GB, free: 11.97 MB / 0.8888 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9557, allocations: 0 / 1.129 GB, free: 11.97 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 8.27e-05/0.9558, allocations: 0 / 1.129 GB, free: 11.97 MB / 0.8888 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.00391/0.9597, allocations: 1.882 MB / 1.131 GB, free: 10.03 MB / 0.8888 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.9597, allocations: 8.031 kB / 1.131 GB, free: 10.02 MB / 0.8888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003768/0.9635, allocations: 0.5205 MB / 1.132 GB, free: 9.496 MB / 0.8888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.9655, allocations: 1.047 MB / 1.133 GB, free: 8.406 MB / 0.8888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.9656, allocations: 127.4 kB / 1.133 GB, free: 8.281 MB / 0.8888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/0.9658, allocations: 168 kB / 1.133 GB, free: 8.117 MB / 0.8888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003564/0.9694, allocations: 1.835 MB / 1.135 GB, free: 6.23 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.9695, allocations: 0 / 1.135 GB, free: 6.23 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/0.9696, allocations: 79.97 kB / 1.135 GB, free: 6.152 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.28e-05/0.9697, allocations: 44 kB / 1.135 GB, free: 6.109 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003563/0.9733, allocations: 1.871 MB / 1.137 GB, free: 4.234 MB / 0.8888 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.008349/0.9816, allocations: 5.199 MB / 1.142 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/0.9846, allocations: 1.753 MB / 1.144 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.9858, allocations: 0.6515 MB / 1.144 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008676/0.9867, allocations: 0.8039 MB / 1.145 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/0.9883, allocations: 0.8956 MB / 1.146 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 3.777e-06/0.9883, allocations: 3.938 kB / 1.146 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=146): time 0.00592/0.9943, allocations: 2.572 MB / 1.148 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.9944, allocations: 197.2 kB / 1.149 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.9957, allocations: 0.8228 MB / 1.149 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.9959, allocations: 61.69 kB / 1.149 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005716/0.9965, allocations: 0.6407 MB / 1.15 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004456/0.997, allocations: 481 kB / 1.15 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/0.997, allocations: 28 kB / 1.151 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.9972, allocations: 357.9 kB / 1.151 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.9983, allocations: 494.3 kB / 1.151 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.9994, allocations: 0.6423 MB / 1.152 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/1.001, allocations: 0.5491 MB / 1.152 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/1.001, allocations: 4 kB / 1.152 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003422/1.004, allocations: 1.546 MB / 1.154 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.004, allocations: 8 kB / 1.154 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.004, allocations: 0 / 1.154 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008273/1.005, allocations: 196.1 kB / 1.154 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/1.006, allocations: 343.6 kB / 1.155 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005754/1.012, allocations: 6.775 MB / 1.161 GB, free: 9.797 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/1.014, allocations: 178.8 kB / 1.161 GB, free: 9.621 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/1.014, allocations: 51.97 kB / 1.161 GB, free: 9.57 MB / 0.92 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009719/1.015, allocations: 376.8 kB / 1.162 GB, free: 9.195 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/1.015, allocations: 134.5 kB / 1.162 GB, free: 9.062 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004217/1.02, allocations: 1.854 MB / 1.164 GB, free: 7.18 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/1.02, allocations: 16 kB / 1.164 GB, free: 7.164 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.02, allocations: 0 / 1.164 GB, free: 7.164 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/1.02, allocations: 7.969 kB / 1.164 GB, free: 7.156 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006469/1.026, allocations: 3.435 MB / 1.167 GB, free: 3.648 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.026, allocations: 3.984 kB / 1.167 GB, free: 3.645 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/1.028, allocations: 319.5 kB / 1.167 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007754/1.028, allocations: 192.1 kB / 1.168 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/1.029, allocations: 39.97 kB / 1.168 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005741/1.034, allocations: 6.81 MB / 1.174 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.034, allocations: 0 / 1.174 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/1.038, allocations: 1.71 MB / 1.176 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.039, allocations: 415.1 kB / 1.176 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/1.04, allocations: 27.98 kB / 1.176 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/1.041, allocations: 150.8 kB / 1.176 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/1.041, allocations: 121.1 kB / 1.177 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/1.042, allocations: 67.95 kB / 1.177 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001053/1.043, allocations: 0.5706 MB / 1.177 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.043, allocations: 0 / 1.177 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002349/1.045, allocations: 0.5844 MB / 1.178 GB, free: 7.906 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002384/1.048, allocations: 0.7211 MB / 1.178 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003588/1.051, allocations: 1.864 MB / 1.18 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.051, allocations: 4.562 kB / 1.18 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/1.053, allocations: 1.305 MB / 1.182 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/1.056, allocations: 460.6 kB / 1.182 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007299/1.063, allocations: 3.646 MB / 1.186 GB, free: 15.95 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/1.064, allocations: 1.296 MB / 1.187 GB, free: 14.62 MB / 0.9513 GB Notification: Performance of simCode: alias equations: time 0.002182/1.066, allocations: 442.1 kB / 1.187 GB, free: 14.18 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005131/1.067, allocations: 151.4 kB / 1.187 GB, free: 14.03 MB / 0.9513 GB Notification: Performance of SimCode: time 1.112e-06/1.067, allocations: 4 kB / 1.187 GB, free: 14.03 MB / 0.9513 GB Notification: Performance of Templates: time 0.04302/1.11, allocations: 24.89 MB / 1.212 GB, free: 5.445 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches