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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00193/0.00193, allocations: 105.5 kB / 16.27 MB, free: 5.984 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.001897/0.001897, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.545/1.545, allocations: 222.9 MB / 240.9 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.899/2.899, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 65.52 kB / 0.9245 GB, free: 36 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.2836/1.305, allocations: 187.3 MB / 1.266 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02635/1.332, allocations: 16 MB / 1.281 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003449/1.335, allocations: 47.69 kB / 1.282 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002583/1.338, allocations: 0.7061 MB / 1.282 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008197/1.346, allocations: 2.268 MB / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005805/1.352, allocations: 1.799 MB / 1.286 GB, free: 14.17 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006704/1.359, allocations: 3.609 MB / 1.29 GB, free: 10.55 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003639/1.362, allocations: 1.94 MB / 1.292 GB, free: 8.551 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005556/1.368, allocations: 1.673 MB / 1.293 GB, free: 6.895 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/1.371, allocations: 1.234 MB / 1.294 GB, free: 5.66 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004496/1.371, allocations: 216 kB / 1.295 GB, free: 5.449 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005285/1.376, allocations: 1.907 MB / 1.296 GB, free: 3.539 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008264/1.377, allocations: 0.6465 MB / 1.297 GB, free: 2.891 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001758/1.379, allocations: 1.147 MB / 1.298 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006908/1.386, allocations: 3.482 MB / 1.302 GB, free: 14.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/1.386, allocations: 4 kB / 1.302 GB, free: 14.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.184e-06/1.386, allocations: 0 / 1.302 GB, free: 14.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.828e-05/1.386, allocations: 4 kB / 1.302 GB, free: 14.24 MB / 1.029 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.005559/1.392, allocations: 2.538 MB / 1.304 GB, free: 11.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/1.392, allocations: 8.031 kB / 1.304 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003545/1.395, allocations: 0.5203 MB / 1.305 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/1.398, allocations: 1.271 MB / 1.306 GB, free: 9.777 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/1.398, allocations: 123.3 kB / 1.306 GB, free: 9.656 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000254/1.398, allocations: 164 kB / 1.306 GB, free: 9.496 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/1.402, allocations: 1.856 MB / 1.308 GB, free: 7.562 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.395e-05/1.402, allocations: 11.78 kB / 1.308 GB, free: 7.551 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/1.402, allocations: 72 kB / 1.308 GB, free: 7.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-05/1.402, allocations: 71.12 kB / 1.308 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003372/1.405, allocations: 1.866 MB / 1.31 GB, free: 5.539 MB / 1.029 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.01053/1.416, allocations: 6.752 MB / 1.317 GB, free: 14.33 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002989/1.419, allocations: 1.583 MB / 1.318 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/1.42, allocations: 0.6484 MB / 1.319 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000875/1.421, allocations: 0.6337 MB / 1.319 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001631/1.423, allocations: 0.8607 MB / 1.32 GB, free: 10.42 MB / 1.045 GB Notification: Performance of pre-optimization done (n=142): time 5.47e-06/1.423, allocations: 4 kB / 1.32 GB, free: 10.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=142): time 0.006156/1.429, allocations: 2.325 MB / 1.322 GB, free: 8.016 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/1.429, allocations: 209.2 kB / 1.323 GB, free: 7.77 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/1.431, allocations: 1.092 MB / 1.324 GB, free: 6.668 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.000146/1.431, allocations: 53.7 kB / 1.324 GB, free: 6.609 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007799/1.432, allocations: 0.712 MB / 1.324 GB, free: 5.887 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005388/1.432, allocations: 477.1 kB / 1.325 GB, free: 5.414 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000445/1.433, allocations: 259.4 kB / 1.325 GB, free: 5.156 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002241/1.433, allocations: 357.9 kB / 1.326 GB, free: 4.801 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/1.434, allocations: 0.4997 MB / 1.326 GB, free: 4.301 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/1.435, allocations: 0.6672 MB / 1.327 GB, free: 3.598 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/1.437, allocations: 1.173 MB / 1.328 GB, free: 2.395 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-05/1.437, allocations: 0 / 1.328 GB, free: 2.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003706/1.441, allocations: 1.564 MB / 1.329 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/1.441, allocations: 8.156 kB / 1.329 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.441, allocations: 7.938 kB / 1.329 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008444/1.442, allocations: 142.5 kB / 1.329 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/1.443, allocations: 303.6 kB / 1.33 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004955/1.448, allocations: 4.538 MB / 1.334 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/1.45, allocations: 146.8 kB / 1.334 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/1.45, allocations: 59.95 kB / 1.334 GB, free: 11.19 MB / 1.061 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.001036/1.451, allocations: 423.2 kB / 1.335 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/1.452, allocations: 158.1 kB / 1.335 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00403/1.456, allocations: 1.8 MB / 1.337 GB, free: 8.789 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.456, allocations: 16 kB / 1.337 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.456, allocations: 4 kB / 1.337 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003052/1.459, allocations: 1.478 MB / 1.338 GB, free: 7.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006729/1.465, allocations: 3.496 MB / 1.342 GB, free: 3.691 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.466, allocations: 0 / 1.342 GB, free: 3.691 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/1.467, allocations: 299.7 kB / 1.342 GB, free: 3.398 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006454/1.468, allocations: 134.4 kB / 1.342 GB, free: 3.258 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/1.468, allocations: 43.97 kB / 1.342 GB, free: 3.215 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004633/1.472, allocations: 4.545 MB / 1.346 GB, free: 14.25 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.472, allocations: 4 kB / 1.346 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005192/1.478, allocations: 2.436 MB / 1.349 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.479, allocations: 422.7 kB / 1.349 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/1.479, allocations: 35.98 kB / 1.349 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/1.48, allocations: 91.7 kB / 1.349 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/1.48, allocations: 109.1 kB / 1.349 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.48, allocations: 63.95 kB / 1.35 GB, free: 11.06 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001291/1.482, allocations: 0.7539 MB / 1.35 GB, free: 10.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.482, allocations: 3.938 kB / 1.35 GB, free: 10.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001961/1.484, allocations: 0.643 MB / 1.351 GB, free: 9.652 MB / 1.076 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.002543/1.486, allocations: 0.7457 MB / 1.352 GB, free: 9.094 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005481/1.492, allocations: 2.182 MB / 1.354 GB, free: 6.871 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.492, allocations: 448 / 1.354 GB, free: 6.867 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/1.494, allocations: 1.07 MB / 1.355 GB, free: 5.758 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00361/1.497, allocations: 0.7192 MB / 1.356 GB, free: 5.062 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/1.504, allocations: 3.469 MB / 1.359 GB, free: 1.555 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/1.506, allocations: 1.398 MB / 1.36 GB, free: 132 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006314/1.506, allocations: 179.3 kB / 1.36 GB, free: 15.96 MB / 1.092 GB Notification: Performance of SimCode: time 9.62e-07/1.506, allocations: 0 / 1.36 GB, free: 15.96 MB / 1.092 GB Notification: Performance of Templates: time 0.07514/1.581, allocations: 49.94 MB / 1.409 GB, free: 14.08 MB / 1.139 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=400 -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) Reference file matches