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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001497/0.001497, allocations: 100.1 kB / 15.88 MB, free: 12 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.001549/0.001549, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.438/1.438, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.849/2.849, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.64 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4461, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.2231/0.6693, allocations: 185 MB / 1.233 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8393/1.509, allocations: 16.05 MB / 1.249 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/1.512, allocations: 38.94 kB / 1.249 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002814/1.514, allocations: 0.6 MB / 1.25 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007574/1.522, allocations: 2.062 MB / 1.252 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00547/1.528, allocations: 1.621 MB / 1.253 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007249/1.535, allocations: 4.337 MB / 1.257 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004501/1.539, allocations: 1.737 MB / 1.259 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006155/1.546, allocations: 1.308 MB / 1.26 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003869/1.55, allocations: 1.235 MB / 1.262 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001103/1.551, allocations: 114.4 kB / 1.262 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006762/1.557, allocations: 2.08 MB / 1.264 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00181/1.559, allocations: 0.5465 MB / 1.264 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004421/1.564, allocations: 1.04 MB / 1.265 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006509/1.57, allocations: 2.624 MB / 1.268 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/1.57, allocations: 0.6094 kB / 1.268 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.525e-06/1.57, allocations: 1.156 kB / 1.268 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001743/1.57, allocations: 0 / 1.268 GB, free: 1.852 MB / 0.9981 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.01085/1.581, allocations: 2.543 MB / 1.27 GB, free: 16.65 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/1.581, allocations: 13.28 kB / 1.27 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005151/1.587, allocations: 0.5205 MB / 1.271 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004813/1.591, allocations: 1.263 MB / 1.272 GB, free: 16.1 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/1.592, allocations: 124.7 kB / 1.272 GB, free: 16.1 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008112/1.593, allocations: 167.9 kB / 1.272 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006469/1.599, allocations: 1.854 MB / 1.274 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/1.599, allocations: 1.094 kB / 1.274 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005461/1.6, allocations: 74.38 kB / 1.274 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/1.6, allocations: 67.97 kB / 1.274 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004775/1.605, allocations: 1.869 MB / 1.276 GB, free: 15.82 MB / 1.014 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.01382/1.618, allocations: 6.545 MB / 1.283 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003706/1.622, allocations: 1.579 MB / 1.284 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/1.624, allocations: 0.6465 MB / 1.285 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008877/1.625, allocations: 0.6289 MB / 1.285 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002065/1.627, allocations: 0.8744 MB / 1.286 GB, free: 11.63 MB / 1.014 GB Notification: Performance of pre-optimization done (n=142): time 7.635e-06/1.627, allocations: 1.203 kB / 1.286 GB, free: 11.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=142): time 0.007092/1.634, allocations: 2.328 MB / 1.289 GB, free: 11.16 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/1.634, allocations: 198.8 kB / 1.289 GB, free: 10.94 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/1.637, allocations: 1.093 MB / 1.29 GB, free: 10.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002765/1.637, allocations: 55.86 kB / 1.29 GB, free: 10.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000845/1.638, allocations: 0.7137 MB / 1.291 GB, free: 10.46 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006665/1.639, allocations: 476 kB / 1.291 GB, free: 10.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006953/1.639, allocations: 259.4 kB / 1.291 GB, free: 10.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001848/1.64, allocations: 357.1 kB / 1.292 GB, free: 9.836 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/1.641, allocations: 0.4971 MB / 1.292 GB, free: 9.828 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/1.642, allocations: 0.6723 MB / 1.293 GB, free: 9.711 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002593/1.645, allocations: 1.173 MB / 1.294 GB, free: 9.613 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/1.645, allocations: 3.656 kB / 1.294 GB, free: 9.613 MB / 1.014 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004202/1.649, allocations: 1.568 MB / 1.295 GB, free: 9.441 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/1.649, allocations: 7.469 kB / 1.295 GB, free: 9.441 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.649, allocations: 2.188 kB / 1.295 GB, free: 9.441 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008755/1.65, allocations: 144 kB / 1.296 GB, free: 9.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/1.651, allocations: 312.3 kB / 1.296 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004441/1.656, allocations: 4.215 MB / 1.3 GB, free: 5.602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/1.658, allocations: 190 kB / 1.3 GB, free: 5.531 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002768/1.658, allocations: 58.42 kB / 1.3 GB, free: 5.531 MB / 1.014 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.001409/1.66, allocations: 416.6 kB / 1.301 GB, free: 5.414 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008826/1.661, allocations: 158.1 kB / 1.301 GB, free: 5.332 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004977/1.666, allocations: 1.808 MB / 1.303 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/1.666, allocations: 13.34 kB / 1.303 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/1.666, allocations: 2.656 kB / 1.303 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003218/1.669, allocations: 1.492 MB / 1.304 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008148/1.677, allocations: 3.488 MB / 1.307 GB, free: 4.527 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/1.677, allocations: 0 / 1.307 GB, free: 4.527 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/1.679, allocations: 291.2 kB / 1.308 GB, free: 4.527 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007278/1.679, allocations: 145.8 kB / 1.308 GB, free: 4.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/1.68, allocations: 37.77 kB / 1.308 GB, free: 4.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003971/1.684, allocations: 4.236 MB / 1.312 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.684, allocations: 7.062 kB / 1.312 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005312/1.689, allocations: 2.434 MB / 1.314 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/1.69, allocations: 432 kB / 1.315 GB, free: 200 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006455/1.691, allocations: 28.69 kB / 1.315 GB, free: 200 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001966/1.693, allocations: 133.8 kB / 1.315 GB, free: 188 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/1.693, allocations: 113.6 kB / 1.315 GB, free: 176 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/1.693, allocations: 63.94 kB / 1.315 GB, free: 176 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001615/1.695, allocations: 0.7478 MB / 1.316 GB, free: 64 kB / 1.014 GB Notification: Performance of sort global known variables: time 5.61e-07/1.695, allocations: 0 / 1.316 GB, free: 64 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.003044/1.698, allocations: 0.6528 MB / 1.316 GB, free: 15.96 MB / 1.029 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.002545/1.701, allocations: 0.745 MB / 1.317 GB, free: 15.72 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003453/1.704, allocations: 1.649 MB / 1.319 GB, free: 15.35 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.704, allocations: 3.531 kB / 1.319 GB, free: 15.35 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001956/1.706, allocations: 1.074 MB / 1.32 GB, free: 15 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004663/1.711, allocations: 0.6644 MB / 1.321 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008901/1.72, allocations: 4.232 MB / 1.325 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/1.721, allocations: 1.38 MB / 1.326 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.723, allocations: 184.7 kB / 1.326 GB, free: 12.03 MB / 1.029 GB Notification: Performance of SimCode: time 2.074e-06/1.723, allocations: 0 / 1.326 GB, free: 12.03 MB / 1.029 GB Notification: Performance of Templates: time 0.08206/1.805, allocations: 49.94 MB / 1.375 GB, free: 12.46 MB / 1.061 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) Reference file matches