Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001129/0.001129, allocations: 107.9 kB / 16.41 MB, free: 6.5 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.0009804/0.0009804, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.422/2.422, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 59.91 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7545/0.756, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.1908/0.9469, allocations: 187.3 MB / 1.391 GB, free: 1.699 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01976/0.9667, allocations: 16 MB / 1.407 GB, free: 1.66 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.9689, allocations: 43.69 kB / 1.407 GB, free: 1.617 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.9707, allocations: 0.7177 MB / 1.408 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005756/0.9765, allocations: 2.266 MB / 1.41 GB, free: 14.62 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00437/0.9809, allocations: 1.817 MB / 1.412 GB, free: 12.81 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004611/0.9855, allocations: 3.622 MB / 1.415 GB, free: 9.176 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00246/0.988, allocations: 1.941 MB / 1.417 GB, free: 7.18 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003327/0.9913, allocations: 1.502 MB / 1.419 GB, free: 5.695 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.9929, allocations: 1.251 MB / 1.42 GB, free: 4.441 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002972/0.9932, allocations: 216 kB / 1.42 GB, free: 4.23 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.9967, allocations: 1.938 MB / 1.422 GB, free: 2.289 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005092/0.9973, allocations: 0.6543 MB / 1.422 GB, free: 1.633 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.9983, allocations: 1.135 MB / 1.424 GB, free: 0.4922 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005095/1.003, allocations: 3.552 MB / 1.427 GB, free: 12.93 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.003, allocations: 8 kB / 1.427 GB, free: 12.92 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.116e-06/1.003, allocations: 3.984 kB / 1.427 GB, free: 12.92 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.239e-05/1.004, allocations: 0 / 1.427 GB, free: 12.92 MB / 1.154 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.004226/1.008, allocations: 2.532 MB / 1.43 GB, free: 10.32 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.008, allocations: 12.03 kB / 1.43 GB, free: 10.31 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003233/1.011, allocations: 0.5203 MB / 1.43 GB, free: 9.789 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/1.013, allocations: 1.314 MB / 1.431 GB, free: 8.418 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/1.013, allocations: 123.3 kB / 1.431 GB, free: 8.297 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/1.013, allocations: 164 kB / 1.432 GB, free: 8.137 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002965/1.016, allocations: 1.86 MB / 1.433 GB, free: 6.199 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/1.016, allocations: 11.83 kB / 1.433 GB, free: 6.188 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/1.017, allocations: 75.94 kB / 1.434 GB, free: 6.113 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.322e-05/1.017, allocations: 71.08 kB / 1.434 GB, free: 6.043 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002903/1.02, allocations: 1.87 MB / 1.435 GB, free: 4.168 MB / 1.154 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.008805/1.028, allocations: 6.502 MB / 1.442 GB, free: 13.26 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/1.031, allocations: 1.583 MB / 1.443 GB, free: 11.63 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/1.032, allocations: 0.6475 MB / 1.444 GB, free: 10.98 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006739/1.033, allocations: 0.6298 MB / 1.445 GB, free: 10.23 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/1.034, allocations: 0.8673 MB / 1.445 GB, free: 9.344 MB / 1.17 GB Notification: Performance of pre-optimization done (n=142): time 3.176e-06/1.034, allocations: 0 / 1.445 GB, free: 9.344 MB / 1.17 GB Notification: Performance of matching and sorting (n=142): time 0.005266/1.04, allocations: 2.333 MB / 1.448 GB, free: 6.938 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.404e-05/1.04, allocations: 197.2 kB / 1.448 GB, free: 6.703 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/1.041, allocations: 1.096 MB / 1.449 GB, free: 5.598 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/1.041, allocations: 57.7 kB / 1.449 GB, free: 5.535 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005271/1.042, allocations: 0.7081 MB / 1.45 GB, free: 4.816 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/1.042, allocations: 477.1 kB / 1.45 GB, free: 4.344 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003591/1.042, allocations: 267.4 kB / 1.45 GB, free: 4.078 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.043, allocations: 353.9 kB / 1.451 GB, free: 3.727 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008689/1.043, allocations: 0.4997 MB / 1.451 GB, free: 3.227 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/1.044, allocations: 0.6672 MB / 1.452 GB, free: 2.523 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/1.046, allocations: 1.169 MB / 1.453 GB, free: 1.324 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.046, allocations: 3.984 kB / 1.453 GB, free: 1.32 MB / 1.17 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003204/1.05, allocations: 1.56 MB / 1.455 GB, free: 15.74 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.05, allocations: 15.92 kB / 1.455 GB, free: 15.72 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/1.05, allocations: 80 / 1.455 GB, free: 15.72 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007277/1.05, allocations: 146.6 kB / 1.455 GB, free: 15.57 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.052, allocations: 299.6 kB / 1.455 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003632/1.055, allocations: 4.545 MB / 1.459 GB, free: 10.3 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/1.057, allocations: 138.8 kB / 1.46 GB, free: 10.17 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/1.057, allocations: 59.91 kB / 1.46 GB, free: 10.11 MB / 1.186 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.0007998/1.058, allocations: 419.2 kB / 1.46 GB, free: 9.691 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/1.058, allocations: 154.1 kB / 1.46 GB, free: 9.539 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003489/1.062, allocations: 1.804 MB / 1.462 GB, free: 7.715 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/1.062, allocations: 12 kB / 1.462 GB, free: 7.703 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.062, allocations: 8 kB / 1.462 GB, free: 7.695 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002626/1.064, allocations: 1.482 MB / 1.463 GB, free: 6.176 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005416/1.07, allocations: 3.495 MB / 1.467 GB, free: 2.617 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.07, allocations: 0 / 1.467 GB, free: 2.617 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/1.071, allocations: 295.6 kB / 1.467 GB, free: 2.328 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005664/1.072, allocations: 134.4 kB / 1.467 GB, free: 2.188 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.811e-05/1.072, allocations: 39.97 kB / 1.467 GB, free: 2.148 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003472/1.075, allocations: 4.545 MB / 1.472 GB, free: 13.18 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.075, allocations: 0 / 1.472 GB, free: 13.18 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004331/1.079, allocations: 2.438 MB / 1.474 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007231/1.08, allocations: 426.7 kB / 1.474 GB, free: 10.28 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/1.08, allocations: 32 kB / 1.475 GB, free: 10.25 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.082, allocations: 90.36 kB / 1.475 GB, free: 10.16 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/1.082, allocations: 109.1 kB / 1.475 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.082, allocations: 63.95 kB / 1.475 GB, free: 9.988 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009379/1.083, allocations: 0.7539 MB / 1.475 GB, free: 9.23 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.9e-07/1.083, allocations: 4 kB / 1.475 GB, free: 9.227 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001461/1.084, allocations: 0.6469 MB / 1.476 GB, free: 8.578 MB / 1.201 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.001612/1.086, allocations: 0.7516 MB / 1.477 GB, free: 8.012 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002807/1.089, allocations: 1.655 MB / 1.478 GB, free: 6.316 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.089, allocations: 448 / 1.478 GB, free: 6.316 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/1.09, allocations: 1.073 MB / 1.48 GB, free: 5.203 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/1.093, allocations: 0.709 MB / 1.48 GB, free: 4.516 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005269/1.098, allocations: 3.419 MB / 1.484 GB, free: 1.066 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008771/1.099, allocations: 1.384 MB / 1.485 GB, free: 15.65 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/1.1, allocations: 187.3 kB / 1.485 GB, free: 15.47 MB / 1.217 GB Notification: Performance of SimCode: time 7.52e-07/1.1, allocations: 3.938 kB / 1.485 GB, free: 15.46 MB / 1.217 GB Notification: Performance of Templates: time 0.05085/1.151, allocations: 50.13 MB / 1.534 GB, free: 13.4 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PressurizationData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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