Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001227/0.001227, allocations: 111 kB / 16.41 MB, free: 6.461 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.001182/0.001182, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.291/2.291, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 59.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7679/0.769, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.1872/0.9562, allocations: 187.3 MB / 1.35 GB, free: 7.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01842/0.9747, allocations: 15.99 MB / 1.366 GB, free: 7.793 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.9765, allocations: 43.75 kB / 1.366 GB, free: 7.75 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.9783, allocations: 0.7489 MB / 1.367 GB, free: 6.996 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00556/0.9839, allocations: 2.314 MB / 1.369 GB, free: 4.676 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004196/0.9881, allocations: 1.831 MB / 1.371 GB, free: 2.855 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004333/0.9924, allocations: 3.629 MB / 1.374 GB, free: 15.22 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002331/0.9948, allocations: 1.94 MB / 1.376 GB, free: 13.22 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003409/0.9982, allocations: 1.533 MB / 1.378 GB, free: 11.71 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.9998, allocations: 1.251 MB / 1.379 GB, free: 10.45 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002772/1, allocations: 216 kB / 1.379 GB, free: 10.24 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003502/1.004, allocations: 1.946 MB / 1.381 GB, free: 8.293 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005271/1.004, allocations: 0.6465 MB / 1.382 GB, free: 7.645 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/1.005, allocations: 1.147 MB / 1.383 GB, free: 6.492 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004309/1.009, allocations: 3.561 MB / 1.386 GB, free: 2.918 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.01, allocations: 4 kB / 1.386 GB, free: 2.914 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.493e-06/1.01, allocations: 0 / 1.386 GB, free: 2.914 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.464e-05/1.01, allocations: 0 / 1.386 GB, free: 2.914 MB / 1.107 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.003844/1.013, allocations: 2.612 MB / 1.389 GB, free: 240 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.013, allocations: 8.031 kB / 1.389 GB, free: 232 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003117/1.017, allocations: 0.5294 MB / 1.389 GB, free: 15.7 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/1.018, allocations: 1.323 MB / 1.39 GB, free: 14.32 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.337e-05/1.018, allocations: 123.3 kB / 1.391 GB, free: 14.2 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/1.019, allocations: 164 kB / 1.391 GB, free: 14.04 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/1.021, allocations: 1.866 MB / 1.393 GB, free: 12.09 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/1.021, allocations: 4 kB / 1.393 GB, free: 12.09 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/1.022, allocations: 68 kB / 1.393 GB, free: 12.02 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.649e-05/1.022, allocations: 71.03 kB / 1.393 GB, free: 11.95 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002771/1.024, allocations: 1.862 MB / 1.395 GB, free: 10.09 MB / 1.123 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.007371/1.032, allocations: 6.536 MB / 1.401 GB, free: 3.141 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/1.034, allocations: 1.586 MB / 1.402 GB, free: 1.516 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009635/1.035, allocations: 0.6476 MB / 1.403 GB, free: 0.8633 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006268/1.036, allocations: 0.6376 MB / 1.404 GB, free: 100 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001363/1.037, allocations: 0.8568 MB / 1.405 GB, free: 15.22 MB / 1.139 GB Notification: Performance of pre-optimization done (n=142): time 2.715e-06/1.037, allocations: 0 / 1.405 GB, free: 15.22 MB / 1.139 GB Notification: Performance of matching and sorting (n=142): time 0.005142/1.042, allocations: 2.342 MB / 1.407 GB, free: 12.81 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.454e-05/1.042, allocations: 197.2 kB / 1.407 GB, free: 12.57 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/1.044, allocations: 1.088 MB / 1.408 GB, free: 11.48 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/1.044, allocations: 65.69 kB / 1.408 GB, free: 11.41 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005035/1.044, allocations: 0.7212 MB / 1.409 GB, free: 10.68 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003453/1.045, allocations: 0.4919 MB / 1.409 GB, free: 10.18 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/1.045, allocations: 259.5 kB / 1.41 GB, free: 9.918 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.045, allocations: 357.9 kB / 1.41 GB, free: 9.562 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008503/1.046, allocations: 0.4958 MB / 1.41 GB, free: 9.066 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.047, allocations: 0.6673 MB / 1.411 GB, free: 8.363 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/1.049, allocations: 1.173 MB / 1.412 GB, free: 7.16 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.049, allocations: 7.938 kB / 1.412 GB, free: 7.152 MB / 1.139 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.002989/1.052, allocations: 1.564 MB / 1.414 GB, free: 5.57 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/1.052, allocations: 13.03 kB / 1.414 GB, free: 5.559 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.052, allocations: 0 / 1.414 GB, free: 5.559 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007267/1.053, allocations: 150.5 kB / 1.414 GB, free: 5.402 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.054, allocations: 307.6 kB / 1.414 GB, free: 5.102 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003625/1.058, allocations: 4.541 MB / 1.419 GB, free: 136 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/1.059, allocations: 151.2 kB / 1.419 GB, free: 15.98 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/1.059, allocations: 55.72 kB / 1.419 GB, free: 15.93 MB / 1.154 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.0007795/1.06, allocations: 427.4 kB / 1.419 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/1.06, allocations: 159 kB / 1.419 GB, free: 15.35 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003423/1.064, allocations: 1.8 MB / 1.421 GB, free: 13.53 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/1.064, allocations: 16 kB / 1.421 GB, free: 13.51 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.064, allocations: 4 kB / 1.421 GB, free: 13.51 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00263/1.066, allocations: 1.478 MB / 1.423 GB, free: 11.99 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005288/1.072, allocations: 3.491 MB / 1.426 GB, free: 8.434 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.072, allocations: 4 kB / 1.426 GB, free: 8.43 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/1.073, allocations: 291.7 kB / 1.426 GB, free: 8.145 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005561/1.073, allocations: 138.3 kB / 1.426 GB, free: 8 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.96e-05/1.073, allocations: 39.97 kB / 1.426 GB, free: 7.961 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003417/1.077, allocations: 4.549 MB / 1.431 GB, free: 2.988 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.077, allocations: 0 / 1.431 GB, free: 2.988 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/1.081, allocations: 2.447 MB / 1.433 GB, free: 0.5195 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006725/1.082, allocations: 427.6 kB / 1.434 GB, free: 84 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/1.082, allocations: 31.98 kB / 1.434 GB, free: 52 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/1.083, allocations: 95.08 kB / 1.434 GB, free: 15.96 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/1.083, allocations: 109.2 kB / 1.434 GB, free: 15.85 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/1.083, allocations: 63.95 kB / 1.434 GB, free: 15.79 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009324/1.084, allocations: 0.7461 MB / 1.435 GB, free: 15.04 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.61e-07/1.084, allocations: 4 kB / 1.435 GB, free: 15.04 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001467/1.086, allocations: 0.6585 MB / 1.435 GB, free: 14.38 MB / 1.17 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.001553/1.087, allocations: 0.7527 MB / 1.436 GB, free: 13.78 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002626/1.09, allocations: 1.648 MB / 1.438 GB, free: 12.09 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/1.09, allocations: 12.44 kB / 1.438 GB, free: 12.08 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001455/1.092, allocations: 1.069 MB / 1.439 GB, free: 10.97 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/1.094, allocations: 0.7154 MB / 1.439 GB, free: 10.28 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005198/1.099, allocations: 3.472 MB / 1.443 GB, free: 6.773 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008689/1.1, allocations: 1.39 MB / 1.444 GB, free: 5.348 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/1.101, allocations: 187.3 kB / 1.444 GB, free: 5.164 MB / 1.17 GB Notification: Performance of SimCode: time 4.31e-07/1.101, allocations: 0 / 1.444 GB, free: 5.164 MB / 1.17 GB Notification: Performance of Templates: time 0.05046/1.151, allocations: 50.14 MB / 1.493 GB, free: 3.055 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PressurizationData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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