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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001506/0.001506, allocations: 108 kB / 15.61 MB, free: 148 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.001709/0.001709, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.469/1.469, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.418/2.418, allocations: 390.2 MB / 0.6646 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 63.89 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6462/0.6483, allocations: 140.4 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1885/0.8368, allocations: 167 MB / 1.113 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02334/0.8602, allocations: 16.93 MB / 1.129 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.862, allocations: 31.81 kB / 1.129 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.8638, allocations: 0.5041 MB / 1.13 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004596/0.8684, allocations: 1.516 MB / 1.131 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003209/0.8716, allocations: 1.299 MB / 1.133 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00283/0.8745, allocations: 2.479 MB / 1.135 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.877, allocations: 1.944 MB / 1.137 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.8804, allocations: 1.299 MB / 1.138 GB, free: 172 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.8815, allocations: 0.9606 MB / 1.139 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.8818, allocations: 204 kB / 1.139 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002697/0.8845, allocations: 1.392 MB / 1.141 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004718/0.885, allocations: 0.553 MB / 1.141 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009621/0.886, allocations: 0.999 MB / 1.142 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00377/0.8897, allocations: 2.983 MB / 1.145 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.8898, allocations: 0 / 1.145 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8898, allocations: 0 / 1.145 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.013e-05/0.8898, allocations: 0 / 1.145 GB, free: 9.059 MB / 0.9044 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.004108/0.8939, allocations: 2.245 MB / 1.147 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.894, allocations: 12.03 kB / 1.147 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/0.8977, allocations: 0.5088 MB / 1.148 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.8998, allocations: 1.082 MB / 1.149 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.8999, allocations: 127.4 kB / 1.149 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002676/0.9002, allocations: 164 kB / 1.149 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00352/0.9037, allocations: 1.843 MB / 1.151 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.9038, allocations: 3.938 kB / 1.151 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.904, allocations: 76 kB / 1.151 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.496e-05/0.904, allocations: 44 kB / 1.151 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003289/0.9073, allocations: 1.878 MB / 1.153 GB, free: 0.918 MB / 0.9044 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.008419/0.9158, allocations: 5.175 MB / 1.158 GB, free: 11.49 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/0.919, allocations: 1.775 MB / 1.16 GB, free: 9.637 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.9201, allocations: 0.6476 MB / 1.16 GB, free: 8.992 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008753/0.921, allocations: 0.8077 MB / 1.161 GB, free: 8.016 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001611/0.9227, allocations: 0.8957 MB / 1.162 GB, free: 7.102 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.416e-06/0.9227, allocations: 0 / 1.162 GB, free: 7.102 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006277/0.929, allocations: 2.548 MB / 1.164 GB, free: 4.441 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.9291, allocations: 209.2 kB / 1.165 GB, free: 4.191 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.9303, allocations: 0.8383 MB / 1.165 GB, free: 3.328 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.9305, allocations: 53.7 kB / 1.165 GB, free: 3.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006155/0.9311, allocations: 0.6446 MB / 1.166 GB, free: 2.613 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000415/0.9316, allocations: 481 kB / 1.167 GB, free: 2.137 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004167/0.932, allocations: 254.8 kB / 1.167 GB, free: 1.883 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.9322, allocations: 353.9 kB / 1.167 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.9332, allocations: 498.3 kB / 1.168 GB, free: 1.043 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.9345, allocations: 0.6424 MB / 1.168 GB, free: 384 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/0.9369, allocations: 1.118 MB / 1.169 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.9369, allocations: 4 kB / 1.169 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003759/0.9407, allocations: 1.55 MB / 1.171 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.9407, allocations: 8 kB / 1.171 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.9408, allocations: 0 / 1.171 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009696/0.9417, allocations: 192.2 kB / 1.171 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.9434, allocations: 343.5 kB / 1.171 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006459/0.9498, allocations: 7.279 MB / 1.178 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.9513, allocations: 157 kB / 1.179 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002291/0.9515, allocations: 55.95 kB / 1.179 GB, free: 4.922 MB / 0.9356 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.0009259/0.9525, allocations: 379.3 kB / 1.179 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/0.9529, allocations: 134.4 kB / 1.179 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004521/0.9574, allocations: 1.842 MB / 1.181 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.9575, allocations: 16 kB / 1.181 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.9575, allocations: 4 kB / 1.181 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.9575, allocations: 7.969 kB / 1.181 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006782/0.9643, allocations: 3.439 MB / 1.184 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.9643, allocations: 0 / 1.184 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.9659, allocations: 315.6 kB / 1.185 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008454/0.9667, allocations: 184.1 kB / 1.185 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/0.9669, allocations: 43.95 kB / 1.185 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006619/0.9736, allocations: 7.319 MB / 1.192 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.9736, allocations: 3.984 kB / 1.192 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004849/0.9784, allocations: 1.714 MB / 1.194 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.9796, allocations: 406.9 kB / 1.194 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/0.9799, allocations: 28 kB / 1.194 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/0.9814, allocations: 104.4 kB / 1.194 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003221/0.9817, allocations: 113.2 kB / 1.194 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002354/0.982, allocations: 71.94 kB / 1.194 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001163/0.9832, allocations: 0.5706 MB / 1.195 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.9832, allocations: 4 kB / 1.195 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002363/0.9855, allocations: 0.5766 MB / 1.195 GB, free: 2.781 MB / 0.9512 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.002175/0.9877, allocations: 0.7248 MB / 1.196 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005971/0.9937, allocations: 2.312 MB / 1.198 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.469e-05/0.9938, allocations: 4.562 kB / 1.198 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002454/0.9962, allocations: 1.305 MB / 1.2 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/0.9992, allocations: 0.5039 MB / 1.2 GB, free: 14 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007585/1.007, allocations: 2.91 MB / 1.203 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/1.008, allocations: 1.3 MB / 1.204 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00233/1.011, allocations: 434.1 kB / 1.205 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005422/1.011, allocations: 155.3 kB / 1.205 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of SimCode: time 8.11e-07/1.011, allocations: 0 / 1.205 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of Templates: time 0.04774/1.059, allocations: 26.89 MB / 1.231 GB, free: 14.6 MB / 0.9981 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