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.001524/0.001524, allocations: 114.2 kB / 16.37 MB, free: 6.012 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.00171/0.00171, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.182/2.182, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.42 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2851, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.7685/1.054, allocations: 167 MB / 1.114 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0221/1.076, allocations: 16.92 MB / 1.131 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002946/1.079, allocations: 31.19 kB / 1.131 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001889/1.081, allocations: 0.5086 MB / 1.131 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00576/1.087, allocations: 1.52 MB / 1.133 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003867/1.09, allocations: 1.313 MB / 1.134 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003992/1.094, allocations: 2.494 MB / 1.137 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002808/1.097, allocations: 1.933 MB / 1.138 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004205/1.101, allocations: 1.307 MB / 1.14 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/1.103, allocations: 0.9494 MB / 1.141 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004148/1.104, allocations: 207 kB / 1.141 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004017/1.108, allocations: 1.425 MB / 1.142 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005915/1.108, allocations: 0.5606 MB / 1.143 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00123/1.109, allocations: 0.9933 MB / 1.144 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005389/1.115, allocations: 3.04 MB / 1.147 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.115, allocations: 3.938 kB / 1.147 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.725e-06/1.115, allocations: 0 / 1.147 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.043e-05/1.115, allocations: 1.062 kB / 1.147 GB, free: 2.566 MB / 0.8575 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.005259/1.12, allocations: 2.25 MB / 1.149 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.12, allocations: 9.094 kB / 1.149 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003851/1.124, allocations: 0.5109 MB / 1.149 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/1.127, allocations: 1.125 MB / 1.15 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/1.127, allocations: 128.6 kB / 1.151 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/1.127, allocations: 167.8 kB / 1.151 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003601/1.131, allocations: 1.846 MB / 1.153 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/1.131, allocations: 0 / 1.153 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/1.131, allocations: 74.22 kB / 1.153 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/1.131, allocations: 41.53 kB / 1.153 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003725/1.135, allocations: 1.872 MB / 1.155 GB, free: 14.95 MB / 0.8731 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.01127/1.146, allocations: 5.121 MB / 1.16 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003404/1.15, allocations: 1.758 MB / 1.161 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/1.151, allocations: 0.652 MB / 1.162 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/1.152, allocations: 0.8073 MB / 1.163 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001781/1.154, allocations: 0.8956 MB / 1.164 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=146): time 3.156e-06/1.154, allocations: 0 / 1.164 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146): time 0.006615/1.16, allocations: 2.556 MB / 1.166 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/1.161, allocations: 198.2 kB / 1.166 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/1.162, allocations: 0.8392 MB / 1.167 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002017/1.162, allocations: 56.78 kB / 1.167 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006161/1.163, allocations: 0.6448 MB / 1.168 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004462/1.163, allocations: 483.2 kB / 1.168 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004262/1.164, allocations: 253 kB / 1.168 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.164, allocations: 358.1 kB / 1.169 GB, free: 6.352 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009966/1.165, allocations: 496.6 kB / 1.169 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/1.166, allocations: 0.6352 MB / 1.17 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/1.168, allocations: 1.127 MB / 1.171 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/1.168, allocations: 4 kB / 1.171 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003556/1.172, allocations: 1.547 MB / 1.172 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.172, allocations: 7.688 kB / 1.172 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.172, allocations: 1.844 kB / 1.172 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009442/1.173, allocations: 196.7 kB / 1.173 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/1.174, allocations: 335 kB / 1.173 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005896/1.18, allocations: 7.283 MB / 1.18 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/1.182, allocations: 145.2 kB / 1.18 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/1.182, allocations: 58.95 kB / 1.18 GB, free: 12.69 MB / 0.8887 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.0009882/1.183, allocations: 384.6 kB / 1.181 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/1.183, allocations: 132.7 kB / 1.181 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004116/1.188, allocations: 1.846 MB / 1.183 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/1.188, allocations: 19.83 kB / 1.183 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.188, allocations: 0 / 1.183 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/1.188, allocations: 11.97 kB / 1.183 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006569/1.194, allocations: 3.435 MB / 1.186 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.194, allocations: 5.875 kB / 1.186 GB, free: 9.094 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/1.196, allocations: 312.9 kB / 1.186 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007409/1.196, allocations: 188.3 kB / 1.186 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/1.197, allocations: 38.09 kB / 1.186 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006038/1.203, allocations: 7.315 MB / 1.194 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.203, allocations: 0 / 1.194 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004256/1.207, allocations: 1.713 MB / 1.195 GB, free: 476 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.208, allocations: 406 kB / 1.196 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/1.208, allocations: 34.78 kB / 1.196 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/1.209, allocations: 106.2 kB / 1.196 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/1.21, allocations: 116.5 kB / 1.196 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/1.21, allocations: 66.77 kB / 1.196 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008601/1.211, allocations: 0.5786 MB / 1.197 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.01e-07/1.211, allocations: 0 / 1.197 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001921/1.213, allocations: 0.5744 MB / 1.197 GB, free: 15.46 MB / 0.9044 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.001909/1.215, allocations: 0.7253 MB / 1.198 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003763/1.218, allocations: 1.869 MB / 1.2 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.218, allocations: 3.312 kB / 1.2 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002121/1.22, allocations: 1.309 MB / 1.201 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/1.223, allocations: 0.5018 MB / 1.201 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006618/1.229, allocations: 2.869 MB / 1.204 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/1.23, allocations: 1.299 MB / 1.206 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001783/1.232, allocations: 432.9 kB / 1.206 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/1.233, allocations: 155.9 kB / 1.206 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of SimCode: time 9.72e-07/1.233, allocations: 0 / 1.206 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of Templates: time 0.04813/1.281, allocations: 26.87 MB / 1.232 GB, free: 3.988 MB / 0.92 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 -s cvode -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/jenkins1/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