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.001422/0.001423, allocations: 109.1 kB / 15.99 MB, free: 6.336 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.001339/0.001339, allocations: 199.2 kB / 16.91 MB, free: 6.176 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.493/1.493, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.414/2.414, allocations: 390.2 MB / 0.665 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 71.12 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.341, allocations: 140.4 MB / 0.9498 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.9429/1.284, allocations: 184.1 MB / 1.13 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02252/1.306, allocations: 15.72 MB / 1.145 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00309/1.31, allocations: 40.88 kB / 1.145 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002222/1.312, allocations: 0.602 MB / 1.146 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009247/1.321, allocations: 2.028 MB / 1.147 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006262/1.327, allocations: 1.64 MB / 1.149 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00689/1.334, allocations: 3.497 MB / 1.153 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003617/1.338, allocations: 1.979 MB / 1.154 GB, free: 500 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005972/1.344, allocations: 1.492 MB / 1.156 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003178/1.347, allocations: 1.274 MB / 1.157 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005244/1.348, allocations: 215.2 kB / 1.157 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006044/1.354, allocations: 1.983 MB / 1.159 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007627/1.354, allocations: 0.6475 MB / 1.16 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001613/1.356, allocations: 1.123 MB / 1.161 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004598/1.361, allocations: 2.618 MB / 1.164 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/1.361, allocations: 1.469 kB / 1.164 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.166e-06/1.361, allocations: 0 / 1.164 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.332e-05/1.361, allocations: 3.938 kB / 1.164 GB, free: 13.14 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.00558/1.366, allocations: 2.532 MB / 1.166 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.366, allocations: 8.312 kB / 1.166 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/1.37, allocations: 0.5167 MB / 1.167 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/1.373, allocations: 1.256 MB / 1.168 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/1.373, allocations: 129.8 kB / 1.168 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/1.373, allocations: 169 kB / 1.168 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003485/1.377, allocations: 1.854 MB / 1.17 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/1.377, allocations: 3.938 kB / 1.17 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/1.377, allocations: 75.58 kB / 1.17 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.968e-05/1.377, allocations: 70.84 kB / 1.17 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003277/1.38, allocations: 1.865 MB / 1.172 GB, free: 9.191 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.009644/1.39, allocations: 6.282 MB / 1.178 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/1.393, allocations: 1.577 MB / 1.18 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/1.394, allocations: 0.6572 MB / 1.18 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007611/1.395, allocations: 0.624 MB / 1.181 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001629/1.396, allocations: 0.8744 MB / 1.182 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=142): time 4.618e-06/1.396, allocations: 0 / 1.182 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of matching and sorting (n=142): time 0.005909/1.402, allocations: 2.324 MB / 1.184 GB, free: 0.8047 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/1.402, allocations: 201.6 kB / 1.184 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/1.405, allocations: 1.091 MB / 1.185 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001713/1.405, allocations: 54.2 kB / 1.185 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008206/1.406, allocations: 0.7121 MB / 1.186 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005345/1.406, allocations: 481.4 kB / 1.186 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005056/1.407, allocations: 257.8 kB / 1.187 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000178/1.407, allocations: 363.1 kB / 1.187 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/1.408, allocations: 0.4962 MB / 1.187 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/1.409, allocations: 0.6754 MB / 1.188 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/1.411, allocations: 1.176 MB / 1.189 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.411, allocations: 0 / 1.189 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003664/1.415, allocations: 1.564 MB / 1.191 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/1.415, allocations: 4.875 kB / 1.191 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/1.415, allocations: 2.094 kB / 1.191 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008331/1.416, allocations: 148 kB / 1.191 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/1.417, allocations: 306.2 kB / 1.191 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004651/1.422, allocations: 4.537 MB / 1.196 GB, free: 7.562 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/1.424, allocations: 182.6 kB / 1.196 GB, free: 7.449 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/1.424, allocations: 57.55 kB / 1.196 GB, free: 7.43 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.001179/1.425, allocations: 419.9 kB / 1.196 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006412/1.426, allocations: 156 kB / 1.196 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/1.43, allocations: 1.809 MB / 1.198 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/1.43, allocations: 15.47 kB / 1.198 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/1.43, allocations: 2.531 kB / 1.198 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002967/1.433, allocations: 1.481 MB / 1.2 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007517/1.441, allocations: 3.496 MB / 1.203 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/1.441, allocations: 0 / 1.203 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/1.442, allocations: 296.1 kB / 1.203 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006454/1.443, allocations: 136.2 kB / 1.203 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/1.443, allocations: 40.28 kB / 1.204 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004155/1.447, allocations: 4.545 MB / 1.208 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.447, allocations: 0 / 1.208 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00508/1.452, allocations: 2.432 MB / 1.21 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/1.454, allocations: 432.1 kB / 1.211 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005129/1.454, allocations: 39.48 kB / 1.211 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/1.456, allocations: 125.1 kB / 1.211 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/1.456, allocations: 110.7 kB / 1.211 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/1.456, allocations: 63.61 kB / 1.211 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001506/1.458, allocations: 0.7518 MB / 1.212 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.3e-07/1.458, allocations: 0 / 1.212 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002621/1.46, allocations: 0.6362 MB / 1.212 GB, free: 11.84 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.002405/1.463, allocations: 0.7428 MB / 1.213 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005877/1.469, allocations: 2.177 MB / 1.215 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.469, allocations: 2.75 kB / 1.215 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002069/1.471, allocations: 1.076 MB / 1.216 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004551/1.475, allocations: 0.6987 MB / 1.217 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/1.486, allocations: 4.336 MB / 1.221 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002016/1.488, allocations: 1.39 MB / 1.223 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009301/1.489, allocations: 179.4 kB / 1.223 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of SimCode: time 1.082e-06/1.489, allocations: 0 / 1.223 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of Templates: time 0.07181/1.561, allocations: 49.73 MB / 1.271 GB, free: 2.258 MB / 0.9512 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