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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001064/0.001064, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 177 kB / 16.92 MB, free: 6.652 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.493/1.493, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.87/2.87, allocations: 437.8 MB / 0.7128 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003846, allocations: 8 kB / 0.8735 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8645/0.8649, allocations: 153.8 MB / 1.024 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.199/1.064, allocations: 182.5 MB / 1.202 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02141/1.085, allocations: 15.84 MB / 1.217 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002651/1.088, allocations: 39.75 kB / 1.217 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002/1.09, allocations: 0.5943 MB / 1.218 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007681/1.098, allocations: 2.069 MB / 1.22 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005426/1.103, allocations: 1.623 MB / 1.222 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005321/1.109, allocations: 4.333 MB / 1.226 GB, free: 72 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002461/1.111, allocations: 1.635 MB / 1.227 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/1.115, allocations: 1.189 MB / 1.229 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/1.117, allocations: 1.099 MB / 1.23 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001814/1.117, allocations: 60 kB / 1.23 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004026/1.121, allocations: 2.023 MB / 1.232 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000541/1.121, allocations: 482.1 kB / 1.232 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/1.123, allocations: 0.9572 MB / 1.233 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003207/1.126, allocations: 2.572 MB / 1.236 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/1.126, allocations: 3.938 kB / 1.236 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.244e-06/1.126, allocations: 4 kB / 1.236 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.634e-05/1.126, allocations: 0 / 1.236 GB, free: 6.004 MB / 0.9825 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.003825/1.13, allocations: 2.133 MB / 1.238 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/1.13, allocations: 8.031 kB / 1.238 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/1.133, allocations: 0.5282 MB / 1.238 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/1.135, allocations: 1.263 MB / 1.239 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.901e-05/1.135, allocations: 123.3 kB / 1.24 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/1.135, allocations: 168 kB / 1.24 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6363/1.771, allocations: 1.856 MB / 1.242 GB, free: 214.6 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/1.772, allocations: 3.25 kB / 1.242 GB, free: 214.6 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006622/1.772, allocations: 73.11 kB / 1.242 GB, free: 214.6 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/1.773, allocations: 65.41 kB / 1.242 GB, free: 214.6 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005549/1.778, allocations: 1.879 MB / 1.244 GB, free: 214.4 MB / 0.9825 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.01148/1.79, allocations: 6.582 MB / 1.25 GB, free: 210.1 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003198/1.793, allocations: 1.587 MB / 1.251 GB, free: 209.4 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/1.794, allocations: 0.6522 MB / 1.252 GB, free: 209.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007053/1.795, allocations: 0.6277 MB / 1.253 GB, free: 208.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001852/1.797, allocations: 0.8843 MB / 1.254 GB, free: 208.1 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=142): time 3.506e-06/1.797, allocations: 0 / 1.254 GB, free: 208.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=142): time 0.007101/1.804, allocations: 2.352 MB / 1.256 GB, free: 207.1 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.804, allocations: 197.1 kB / 1.256 GB, free: 206.9 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/1.806, allocations: 1.091 MB / 1.257 GB, free: 206.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000263/1.806, allocations: 55.02 kB / 1.257 GB, free: 206.4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007172/1.807, allocations: 0.7177 MB / 1.258 GB, free: 205.9 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005121/1.808, allocations: 477.8 kB / 1.258 GB, free: 205.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/1.808, allocations: 112.2 kB / 1.258 GB, free: 205.4 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.808, allocations: 358.2 kB / 1.259 GB, free: 205.1 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/1.809, allocations: 0.4996 MB / 1.259 GB, free: 204.9 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/1.811, allocations: 0.6693 MB / 1.26 GB, free: 204.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/1.813, allocations: 1.187 MB / 1.261 GB, free: 204.1 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.813, allocations: 0 / 1.261 GB, free: 204.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003929/1.817, allocations: 1.573 MB / 1.263 GB, free: 203.4 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/1.817, allocations: 5.219 kB / 1.263 GB, free: 203.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.817, allocations: 2.125 kB / 1.263 GB, free: 203.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000851/1.818, allocations: 145.2 kB / 1.263 GB, free: 203.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/1.819, allocations: 308.7 kB / 1.263 GB, free: 203.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/1.823, allocations: 4.234 MB / 1.267 GB, free: 199.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/1.825, allocations: 200 kB / 1.267 GB, free: 199.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/1.825, allocations: 59.44 kB / 1.267 GB, free: 199.2 MB / 0.9825 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.00118/1.826, allocations: 420.3 kB / 1.268 GB, free: 198.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/1.826, allocations: 159 kB / 1.268 GB, free: 198.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/1.83, allocations: 1.806 MB / 1.27 GB, free: 198.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/1.83, allocations: 19 kB / 1.27 GB, free: 198.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.83, allocations: 1.469 kB / 1.27 GB, free: 198.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002799/1.833, allocations: 1.492 MB / 1.271 GB, free: 197.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005979/1.839, allocations: 3.497 MB / 1.275 GB, free: 195.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/1.839, allocations: 7.844 kB / 1.275 GB, free: 195.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/1.84, allocations: 292 kB / 1.275 GB, free: 195.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006425/1.841, allocations: 145.5 kB / 1.275 GB, free: 195.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.861e-05/1.841, allocations: 39.88 kB / 1.275 GB, free: 195.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/1.844, allocations: 4.242 MB / 1.279 GB, free: 191.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.844, allocations: 8.031 kB / 1.279 GB, free: 191.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/1.848, allocations: 2.444 MB / 1.282 GB, free: 189.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008981/1.849, allocations: 445.2 kB / 1.282 GB, free: 189.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/1.849, allocations: 35.83 kB / 1.282 GB, free: 189.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/1.851, allocations: 146.5 kB / 1.282 GB, free: 189.3 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/1.851, allocations: 105.6 kB / 1.282 GB, free: 189.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/1.851, allocations: 67.08 kB / 1.282 GB, free: 189.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008806/1.852, allocations: 0.7562 MB / 1.283 GB, free: 188.8 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.852, allocations: 3.688 kB / 1.283 GB, free: 188.8 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001667/1.853, allocations: 0.6396 MB / 1.284 GB, free: 188.7 MB / 0.9825 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.001653/1.855, allocations: 0.7584 MB / 1.285 GB, free: 188.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002735/1.858, allocations: 1.655 MB / 1.286 GB, free: 186.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.858, allocations: 4.438 kB / 1.286 GB, free: 186.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/1.859, allocations: 1.082 MB / 1.287 GB, free: 185.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/1.862, allocations: 0.665 MB / 1.288 GB, free: 184.9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005692/1.868, allocations: 4.33 MB / 1.292 GB, free: 180.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007023/1.869, allocations: 1.39 MB / 1.293 GB, free: 179.1 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005881/1.869, allocations: 183.3 kB / 1.294 GB, free: 178.9 MB / 0.9825 GB Notification: Performance of SimCode: time 1.292e-06/1.869, allocations: 0 / 1.294 GB, free: 178.9 MB / 0.9825 GB Notification: Performance of Templates: time 0.05256/1.922, allocations: 49.7 MB / 1.342 GB, free: 129.3 MB / 0.9825 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) Reference file matches