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.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.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.007706/0.007706, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001886/0.001886, allocations: 195 kB / 16.79 MB, free: 6.254 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.491/1.491, allocations: 222.9 MB / 240.5 MB, free: 4.441 MB / 190.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.531/2.531, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 71.88 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7387/0.7401, allocations: 140.3 MB / 0.9496 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.2067/0.9469, allocations: 184.2 MB / 1.129 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02353/0.9705, allocations: 15.97 MB / 1.145 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002877/0.9734, allocations: 39.75 kB / 1.145 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002236/0.9757, allocations: 0.5905 MB / 1.146 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006491/0.9822, allocations: 1.991 MB / 1.148 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004965/0.9872, allocations: 1.608 MB / 1.149 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005598/0.9928, allocations: 4.231 MB / 1.153 GB, free: 0.9258 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003228/0.9961, allocations: 1.789 MB / 1.155 GB, free: 15.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004724/1.001, allocations: 1.301 MB / 1.156 GB, free: 13.79 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/1.003, allocations: 1.215 MB / 1.158 GB, free: 12.57 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006453/1.004, allocations: 108 kB / 1.158 GB, free: 12.46 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004939/1.009, allocations: 2.074 MB / 1.16 GB, free: 10.39 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00109/1.01, allocations: 0.5566 MB / 1.16 GB, free: 9.828 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002169/1.012, allocations: 1.01 MB / 1.161 GB, free: 8.812 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003967/1.016, allocations: 2.588 MB / 1.164 GB, free: 6.219 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/1.016, allocations: 7.922 kB / 1.164 GB, free: 6.211 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.412e-06/1.016, allocations: 0 / 1.164 GB, free: 6.211 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001082/1.016, allocations: 0 / 1.164 GB, free: 6.211 MB / 0.92 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.006559/1.023, allocations: 2.522 MB / 1.166 GB, free: 3.625 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/1.023, allocations: 11.97 kB / 1.166 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003956/1.027, allocations: 0.5165 MB / 1.167 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/1.03, allocations: 1.263 MB / 1.168 GB, free: 1.773 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/1.03, allocations: 119.3 kB / 1.168 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004162/1.031, allocations: 168 kB / 1.168 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004348/1.035, allocations: 1.864 MB / 1.17 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.059e-05/1.035, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/1.035, allocations: 68 kB / 1.17 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.158e-05/1.035, allocations: 71.14 kB / 1.17 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004107/1.039, allocations: 1.866 MB / 1.172 GB, free: 13.54 MB / 0.9356 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.0127/1.052, allocations: 6.283 MB / 1.178 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003149/1.055, allocations: 1.58 MB / 1.18 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/1.057, allocations: 0.6514 MB / 1.18 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009082/1.058, allocations: 0.6259 MB / 1.181 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001868/1.06, allocations: 0.8723 MB / 1.182 GB, free: 3 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=142): time 6.092e-06/1.06, allocations: 0 / 1.182 GB, free: 3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=142): time 0.006476/1.066, allocations: 2.333 MB / 1.184 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000182/1.066, allocations: 197.2 kB / 1.184 GB, free: 372 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/1.069, allocations: 1.092 MB / 1.185 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002235/1.069, allocations: 53.7 kB / 1.185 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008664/1.07, allocations: 0.7236 MB / 1.186 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000619/1.071, allocations: 473.1 kB / 1.187 GB, free: 14 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006154/1.071, allocations: 263.3 kB / 1.187 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1.071, allocations: 353.9 kB / 1.187 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/1.073, allocations: 0.4958 MB / 1.188 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/1.074, allocations: 0.6711 MB / 1.188 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00224/1.076, allocations: 1.177 MB / 1.189 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/1.076, allocations: 0 / 1.189 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003622/1.08, allocations: 1.564 MB / 1.191 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/1.08, allocations: 9.875 kB / 1.191 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.08, allocations: 7.922 kB / 1.191 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008069/1.081, allocations: 138.6 kB / 1.191 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/1.082, allocations: 307.6 kB / 1.191 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003889/1.086, allocations: 4.217 MB / 1.196 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/1.088, allocations: 178.8 kB / 1.196 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/1.088, allocations: 63.97 kB / 1.196 GB, free: 4.074 MB / 0.9512 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.001049/1.089, allocations: 419.2 kB / 1.196 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005947/1.09, allocations: 154.1 kB / 1.196 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/1.094, allocations: 1.804 MB / 1.198 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/1.094, allocations: 16 kB / 1.198 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.094, allocations: 3.938 kB / 1.198 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002904/1.097, allocations: 1.478 MB / 1.2 GB, free: 140 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007077/1.104, allocations: 3.488 MB / 1.203 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.104, allocations: 0 / 1.203 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/1.105, allocations: 303.6 kB / 1.203 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000692/1.106, allocations: 146.4 kB / 1.203 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/1.106, allocations: 39.97 kB / 1.203 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003737/1.11, allocations: 4.229 MB / 1.208 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.11, allocations: 64 / 1.208 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005041/1.115, allocations: 2.436 MB / 1.21 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.116, allocations: 426.7 kB / 1.21 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004157/1.116, allocations: 35.98 kB / 1.21 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/1.118, allocations: 128.8 kB / 1.21 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/1.118, allocations: 109.1 kB / 1.211 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/1.118, allocations: 63.95 kB / 1.211 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001386/1.12, allocations: 0.7539 MB / 1.211 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/1.12, allocations: 0 / 1.211 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002118/1.122, allocations: 0.6275 MB / 1.212 GB, free: 2.855 MB / 0.9669 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.002053/1.124, allocations: 0.7536 MB / 1.213 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003322/1.127, allocations: 1.64 MB / 1.214 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/1.127, allocations: 8.5 kB / 1.214 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/1.129, allocations: 1.069 MB / 1.215 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/1.133, allocations: 0.6567 MB / 1.216 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008236/1.141, allocations: 4.323 MB / 1.22 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/1.142, allocations: 1.39 MB / 1.222 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008405/1.143, allocations: 175.3 kB / 1.222 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of SimCode: time 1.333e-06/1.143, allocations: 4 kB / 1.222 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of Templates: time 0.6246/1.768, allocations: 49.72 MB / 1.27 GB, free: 270.4 MB / 0.9981 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) "" Variables in the reference:time,pow_1dat1.V_flow,pow_1dat.V_flow,pow_1dat1.dp,pow_1dat.dp Variables in the result:pow_1dat.V_flow,pow_1dat.dp,pow_1dat1.V_flow,pow_1dat1.dp,time