Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.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.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_1dat1.V_flow|pow_1dat.V_flow|pow_1dat1.dp|pow_1dat.dp",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData") translateModel(Buildings.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_1dat1.V_flow|pow_1dat.V_flow|pow_1dat1.dp|pow_1dat.dp",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002142/0.002142, allocations: 105.5 kB / 16.27 MB, free: 6.41 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.002686/0.002685, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.395/1.395, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.206/2.206, allocations: 390.3 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 64.83 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3834, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 1.164/1.548, allocations: 186.5 MB / 1.132 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02497/1.573, allocations: 15.9 MB / 1.148 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003647/1.576, allocations: 40.25 kB / 1.148 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002355/1.579, allocations: 0.6903 MB / 1.149 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008939/1.588, allocations: 2.197 MB / 1.151 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006718/1.595, allocations: 1.795 MB / 1.153 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007451/1.602, allocations: 3.498 MB / 1.156 GB, free: 148 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004169/1.606, allocations: 1.986 MB / 1.158 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005562/1.612, allocations: 1.478 MB / 1.159 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003115/1.615, allocations: 1.227 MB / 1.161 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0009836/1.616, allocations: 213.9 kB / 1.161 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007505/1.623, allocations: 1.92 MB / 1.163 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001436/1.625, allocations: 0.6421 MB / 1.163 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003933/1.629, allocations: 1.119 MB / 1.164 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.009639/1.638, allocations: 3.446 MB / 1.168 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/1.638, allocations: 0 / 1.168 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.066e-06/1.638, allocations: 0 / 1.168 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.926e-05/1.639, allocations: 1.344 kB / 1.168 GB, free: 11.46 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.006502/1.645, allocations: 2.527 MB / 1.17 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.149e-05/1.645, allocations: 8.344 kB / 1.17 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003709/1.649, allocations: 0.5175 MB / 1.171 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/1.651, allocations: 1.256 MB / 1.172 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/1.651, allocations: 128.8 kB / 1.172 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002809/1.652, allocations: 161.2 kB / 1.172 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003762/1.656, allocations: 1.863 MB / 1.174 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.275e-05/1.656, allocations: 1 kB / 1.174 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002138/1.656, allocations: 71.28 kB / 1.174 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/1.656, allocations: 71.92 kB / 1.174 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003368/1.659, allocations: 1.868 MB / 1.176 GB, free: 6.984 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.00971/1.669, allocations: 6.311 MB / 1.182 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002836/1.672, allocations: 1.583 MB / 1.184 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/1.673, allocations: 0.6461 MB / 1.184 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008207/1.674, allocations: 0.6276 MB / 1.185 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001613/1.675, allocations: 0.8713 MB / 1.186 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=142): time 3.416e-06/1.676, allocations: 0 / 1.186 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of matching and sorting (n=142): time 0.005966/1.681, allocations: 2.332 MB / 1.188 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/1.682, allocations: 193.9 kB / 1.188 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/1.683, allocations: 1.093 MB / 1.189 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/1.684, allocations: 56.05 kB / 1.189 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000724/1.684, allocations: 0.7137 MB / 1.19 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004883/1.685, allocations: 474.7 kB / 1.191 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004376/1.685, allocations: 267.9 kB / 1.191 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001783/1.685, allocations: 354.8 kB / 1.191 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009687/1.686, allocations: 0.4974 MB / 1.192 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/1.688, allocations: 0.6678 MB / 1.192 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/1.69, allocations: 1.172 MB / 1.193 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.69, allocations: 0 / 1.193 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003548/1.693, allocations: 1.564 MB / 1.195 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/1.693, allocations: 5.812 kB / 1.195 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.693, allocations: 2.281 kB / 1.195 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008073/1.694, allocations: 151.2 kB / 1.195 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/1.695, allocations: 306.9 kB / 1.195 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004648/1.7, allocations: 4.538 MB / 1.2 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/1.702, allocations: 140.2 kB / 1.2 GB, free: 4.695 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/1.702, allocations: 57.94 kB / 1.2 GB, free: 4.676 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (162): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.001164/1.703, allocations: 421.8 kB / 1.2 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/1.704, allocations: 160.1 kB / 1.201 GB, free: 4.293 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004021/1.708, allocations: 1.805 MB / 1.202 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/1.708, allocations: 19.06 kB / 1.202 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.708, allocations: 0 / 1.202 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003048/1.711, allocations: 1.483 MB / 1.204 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006474/1.717, allocations: 3.506 MB / 1.207 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.717, allocations: 0 / 1.207 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/1.719, allocations: 297.2 kB / 1.207 GB, free: 184 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006647/1.719, allocations: 131.7 kB / 1.208 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.826e-05/1.719, allocations: 44.22 kB / 1.208 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004494/1.724, allocations: 4.533 MB / 1.212 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.724, allocations: 7.922 kB / 1.212 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006047/1.73, allocations: 2.437 MB / 1.214 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.731, allocations: 431.8 kB / 1.215 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/1.731, allocations: 26.84 kB / 1.215 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/1.733, allocations: 97.22 kB / 1.215 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/1.733, allocations: 105.3 kB / 1.215 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/1.733, allocations: 69.02 kB / 1.215 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001355/1.735, allocations: 0.7479 MB / 1.216 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.21e-07/1.735, allocations: 4 kB / 1.216 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002598/1.737, allocations: 0.6299 MB / 1.217 GB, free: 9.094 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,pow_1dat.mExc,pow_1dat1.mExc) * 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 (151): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.002038/1.739, allocations: 0.7457 MB / 1.217 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005377/1.745, allocations: 2.179 MB / 1.219 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.745, allocations: 2.844 kB / 1.219 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/1.746, allocations: 1.067 MB / 1.22 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/1.75, allocations: 0.694 MB / 1.221 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008367/1.758, allocations: 3.569 MB / 1.225 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.759, allocations: 1.386 MB / 1.226 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007208/1.76, allocations: 187.3 kB / 1.226 GB, free: 1.219 MB / 0.9044 GB Notification: Performance of SimCode: time 1.553e-06/1.76, allocations: 0 / 1.226 GB, free: 1.219 MB / 0.9044 GB Notification: Performance of Templates: time 0.08258/1.843, allocations: 49.73 MB / 1.275 GB, free: 15.56 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_PressurizationData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches