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.00109/0.00109, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001118/0.001118, allocations: 187 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.15 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.431/2.431, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 60.12 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.2108/1.247, allocations: 187.3 MB / 1.35 GB, free: 7.855 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02247/1.27, allocations: 15.99 MB / 1.366 GB, free: 7.824 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002802/1.273, allocations: 39.81 kB / 1.366 GB, free: 7.785 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002603/1.275, allocations: 0.7373 MB / 1.367 GB, free: 7.043 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008307/1.284, allocations: 2.326 MB / 1.369 GB, free: 4.711 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006075/1.29, allocations: 1.824 MB / 1.371 GB, free: 2.898 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00605/1.296, allocations: 3.638 MB / 1.374 GB, free: 15.25 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003623/1.299, allocations: 1.929 MB / 1.376 GB, free: 13.26 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004758/1.304, allocations: 1.54 MB / 1.378 GB, free: 11.74 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002831/1.307, allocations: 1.248 MB / 1.379 GB, free: 10.49 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0008594/1.308, allocations: 212 kB / 1.379 GB, free: 10.28 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005026/1.313, allocations: 1.953 MB / 1.381 GB, free: 8.324 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001131/1.314, allocations: 0.6426 MB / 1.382 GB, free: 7.68 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002364/1.316, allocations: 1.143 MB / 1.383 GB, free: 6.531 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007184/1.324, allocations: 3.548 MB / 1.386 GB, free: 2.973 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.324, allocations: 0 / 1.386 GB, free: 2.973 MB / 1.107 GB Notification: Performance of FrontEnd: time 4.208e-06/1.324, allocations: 4 kB / 1.386 GB, free: 2.969 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001192/1.324, allocations: 0 / 1.386 GB, free: 2.969 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.006082/1.33, allocations: 2.544 MB / 1.389 GB, free: 372 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.33, allocations: 12.03 kB / 1.389 GB, free: 360 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00352/1.333, allocations: 0.5165 MB / 1.389 GB, free: 15.83 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/1.336, allocations: 1.31 MB / 1.39 GB, free: 14.46 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/1.336, allocations: 127.3 kB / 1.39 GB, free: 14.34 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002299/1.336, allocations: 160 kB / 1.391 GB, free: 14.18 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003115/1.339, allocations: 1.86 MB / 1.392 GB, free: 12.25 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/1.339, allocations: 7.891 kB / 1.392 GB, free: 12.24 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/1.34, allocations: 79.98 kB / 1.393 GB, free: 12.16 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-05/1.34, allocations: 59.16 kB / 1.393 GB, free: 12.1 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/1.343, allocations: 1.87 MB / 1.394 GB, free: 10.23 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.008981/1.352, allocations: 6.511 MB / 1.401 GB, free: 3.305 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/1.354, allocations: 1.582 MB / 1.402 GB, free: 1.684 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/1.356, allocations: 0.6515 MB / 1.403 GB, free: 1.027 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007313/1.356, allocations: 0.622 MB / 1.404 GB, free: 284 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001487/1.358, allocations: 0.8841 MB / 1.404 GB, free: 15.37 MB / 1.139 GB Notification: Performance of pre-optimization done (n=142): time 3.867e-06/1.358, allocations: 0 / 1.404 GB, free: 15.37 MB / 1.139 GB Notification: Performance of matching and sorting (n=142): time 0.005919/1.364, allocations: 2.325 MB / 1.407 GB, free: 12.97 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/1.364, allocations: 201.2 kB / 1.407 GB, free: 12.73 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/1.366, allocations: 1.092 MB / 1.408 GB, free: 11.63 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/1.366, allocations: 53.7 kB / 1.408 GB, free: 11.57 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006998/1.366, allocations: 0.7159 MB / 1.409 GB, free: 10.85 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/1.367, allocations: 477 kB / 1.409 GB, free: 10.38 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004071/1.367, allocations: 259.4 kB / 1.409 GB, free: 10.12 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.368, allocations: 361.9 kB / 1.41 GB, free: 9.758 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009613/1.368, allocations: 0.4958 MB / 1.41 GB, free: 9.262 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/1.37, allocations: 0.6673 MB / 1.411 GB, free: 8.559 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/1.372, allocations: 1.177 MB / 1.412 GB, free: 7.352 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.372, allocations: 0 / 1.412 GB, free: 7.352 MB / 1.139 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003458/1.375, allocations: 1.564 MB / 1.414 GB, free: 5.77 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/1.375, allocations: 13.81 kB / 1.414 GB, free: 5.758 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.375, allocations: 0 / 1.414 GB, free: 5.758 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008316/1.376, allocations: 142.6 kB / 1.414 GB, free: 5.609 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/1.377, allocations: 307.6 kB / 1.414 GB, free: 5.309 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00443/1.382, allocations: 4.541 MB / 1.418 GB, free: 348 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/1.384, allocations: 142.8 kB / 1.419 GB, free: 204 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.384, allocations: 63.89 kB / 1.419 GB, free: 140 kB / 1.139 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.0009969/1.385, allocations: 423.4 kB / 1.419 GB, free: 15.71 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/1.385, allocations: 154.1 kB / 1.419 GB, free: 15.56 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/1.389, allocations: 1.789 MB / 1.421 GB, free: 13.75 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/1.389, allocations: 19.98 kB / 1.421 GB, free: 13.73 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.389, allocations: 4 kB / 1.421 GB, free: 13.73 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002986/1.392, allocations: 1.478 MB / 1.422 GB, free: 12.21 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007068/1.399, allocations: 3.479 MB / 1.426 GB, free: 8.668 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.399, allocations: 0 / 1.426 GB, free: 8.668 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/1.4, allocations: 303.6 kB / 1.426 GB, free: 8.371 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006458/1.401, allocations: 134.5 kB / 1.426 GB, free: 8.23 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/1.401, allocations: 39.97 kB / 1.426 GB, free: 8.191 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004173/1.405, allocations: 4.553 MB / 1.431 GB, free: 3.215 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.405, allocations: 0 / 1.431 GB, free: 3.215 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004976/1.41, allocations: 2.435 MB / 1.433 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/1.412, allocations: 430.7 kB / 1.434 GB, free: 324 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003721/1.412, allocations: 28 kB / 1.434 GB, free: 296 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/1.413, allocations: 97.78 kB / 1.434 GB, free: 200 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/1.414, allocations: 105.2 kB / 1.434 GB, free: 92 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/1.414, allocations: 67.89 kB / 1.434 GB, free: 24 kB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001374/1.415, allocations: 0.7501 MB / 1.435 GB, free: 15.27 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.21e-07/1.415, allocations: 0 / 1.435 GB, free: 15.27 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001994/1.417, allocations: 0.6508 MB / 1.435 GB, free: 14.61 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.00197/1.419, allocations: 0.7492 MB / 1.436 GB, free: 14.03 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00332/1.422, allocations: 1.647 MB / 1.438 GB, free: 12.34 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.422, allocations: 4.438 kB / 1.438 GB, free: 12.34 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001847/1.424, allocations: 1.07 MB / 1.439 GB, free: 11.23 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/1.428, allocations: 0.7146 MB / 1.439 GB, free: 10.54 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007009/1.435, allocations: 3.423 MB / 1.443 GB, free: 7.078 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/1.436, allocations: 1.39 MB / 1.444 GB, free: 5.652 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007502/1.437, allocations: 183.3 kB / 1.444 GB, free: 5.473 MB / 1.17 GB Notification: Performance of SimCode: time 1.012e-06/1.437, allocations: 0 / 1.444 GB, free: 5.473 MB / 1.17 GB Notification: Performance of Templates: time 0.06751/1.504, allocations: 50.14 MB / 1.493 GB, free: 3.367 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