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.0007956/0.0007956, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008412/0.0008411, allocations: 168.7 kB / 15.95 MB, free: 204 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.321/1.321, allocations: 223.3 MB / 240 MB, free: 5.43 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.587/2.587, allocations: 437.7 MB / 0.7117 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003378, allocations: 15.97 kB / 0.8722 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5822/0.5825, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1507/0.7332, allocations: 152.8 MB / 1.172 GB, free: 6.871 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.7522, allocations: 15.83 MB / 1.187 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.7536, allocations: 23.88 kB / 1.187 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.755, allocations: 389.2 kB / 1.187 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003777/0.7588, allocations: 1.27 MB / 1.189 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.7614, allocations: 1.019 MB / 1.19 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002755/0.7642, allocations: 2.57 MB / 1.192 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.766, allocations: 1.399 MB / 1.194 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.7676, allocations: 0.9455 MB / 1.194 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008544/0.7684, allocations: 0.7269 MB / 1.195 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.7686, allocations: 40 kB / 1.195 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.7706, allocations: 0.9086 MB / 1.196 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003325/0.7709, allocations: 358.5 kB / 1.196 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003493/0.7713, allocations: 356.7 kB / 1.197 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002172/0.7734, allocations: 2.217 MB / 1.199 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7735, allocations: 0 / 1.199 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7735, allocations: 0 / 1.199 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.874e-05/0.7735, allocations: 3.938 kB / 1.199 GB, free: 10.73 MB / 0.9512 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.00313/0.7766, allocations: 1.917 MB / 1.201 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.7767, allocations: 8.031 kB / 1.201 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003388/0.7801, allocations: 0.5167 MB / 1.201 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.7817, allocations: 1.055 MB / 1.202 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.782e-05/0.7818, allocations: 131.4 kB / 1.202 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.782, allocations: 164 kB / 1.203 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003087/0.7851, allocations: 1.832 MB / 1.204 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.7851, allocations: 0 / 1.204 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.7853, allocations: 72 kB / 1.204 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.7853, allocations: 44 kB / 1.205 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00313/0.7885, allocations: 1.875 MB / 1.206 GB, free: 2.961 MB / 0.9512 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.00743/0.7959, allocations: 5.566 MB / 1.212 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002834/0.7988, allocations: 1.765 MB / 1.214 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.7999, allocations: 0.6476 MB / 1.214 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000816/0.8007, allocations: 0.8233 MB / 1.215 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00155/0.8023, allocations: 0.8857 MB / 1.216 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=146): time 3.537e-06/0.8023, allocations: 0 / 1.216 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=146): time 0.005793/0.8081, allocations: 2.568 MB / 1.218 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.893e-05/0.8082, allocations: 201.2 kB / 1.219 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.8093, allocations: 0.8228 MB / 1.219 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.8094, allocations: 65.7 kB / 1.219 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/0.8099, allocations: 0.6329 MB / 1.22 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000373/0.8102, allocations: 488.9 kB / 1.22 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.8103, allocations: 28 kB / 1.221 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.8105, allocations: 361.9 kB / 1.221 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009795/0.8115, allocations: 498.3 kB / 1.221 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.8126, allocations: 0.6345 MB / 1.222 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.8137, allocations: 0.553 MB / 1.222 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.8137, allocations: 4 kB / 1.222 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003222/0.817, allocations: 1.542 MB / 1.224 GB, free: 52 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.817, allocations: 8 kB / 1.224 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.817, allocations: 0 / 1.224 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008582/0.8179, allocations: 192.2 kB / 1.224 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.8194, allocations: 339.6 kB / 1.225 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005293/0.8247, allocations: 6.781 MB / 1.231 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.8261, allocations: 175.5 kB / 1.231 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.8262, allocations: 59.95 kB / 1.231 GB, free: 7.828 MB / 0.9825 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.0008159/0.8271, allocations: 379.2 kB / 1.232 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.8274, allocations: 138.4 kB / 1.232 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004154/0.8315, allocations: 1.854 MB / 1.234 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.8316, allocations: 16 kB / 1.234 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.8316, allocations: 4 kB / 1.234 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.8316, allocations: 7.969 kB / 1.234 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006069/0.8377, allocations: 3.443 MB / 1.237 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.8377, allocations: 4 kB / 1.237 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.8391, allocations: 315.6 kB / 1.237 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007814/0.8399, allocations: 192.1 kB / 1.238 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.84, allocations: 39.97 kB / 1.238 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005167/0.8452, allocations: 6.802 MB / 1.244 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8452, allocations: 0 / 1.244 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003601/0.8488, allocations: 1.699 MB / 1.246 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007861/0.8496, allocations: 418.9 kB / 1.246 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/0.8499, allocations: 27.98 kB / 1.246 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.8512, allocations: 153.8 kB / 1.246 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/0.8515, allocations: 109.2 kB / 1.247 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/0.8517, allocations: 79.88 kB / 1.247 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008903/0.8526, allocations: 0.5706 MB / 1.247 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8526, allocations: 0 / 1.247 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001761/0.8544, allocations: 0.6078 MB / 1.248 GB, free: 6.133 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 (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.00182/0.8562, allocations: 0.7164 MB / 1.248 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003193/0.8594, allocations: 1.867 MB / 1.25 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.8594, allocations: 4.562 kB / 1.25 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.8613, allocations: 1.301 MB / 1.252 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.8636, allocations: 495.7 kB / 1.252 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5469/1.41, allocations: 3.478 MB / 1.255 GB, free: 59.99 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/1.412, allocations: 1.303 MB / 1.257 GB, free: 59.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002095/1.414, allocations: 440.8 kB / 1.257 GB, free: 59.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/1.414, allocations: 155.1 kB / 1.257 GB, free: 59.24 MB / 0.9981 GB Notification: Performance of SimCode: time 1.393e-06/1.414, allocations: 0 / 1.257 GB, free: 59.24 MB / 0.9981 GB Notification: Performance of Templates: time 0.04657/1.461, allocations: 25.68 MB / 1.282 GB, free: 57.65 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/jenkins/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