Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.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.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00137/0.00137, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.752/2.752, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003945, allocations: 12.31 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4238, allocations: 159.6 MB / 1.058 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorPressure): time 0.2166/0.6404, allocations: 167.8 MB / 1.222 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008318/0.6488, allocations: 5.169 MB / 1.227 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.6499, allocations: 11.94 kB / 1.227 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.6512, allocations: 409.9 kB / 1.227 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.6553, allocations: 1.35 MB / 1.229 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.6573, allocations: 0.5393 MB / 1.229 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002977/0.6603, allocations: 2.507 MB / 1.232 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008863/0.6612, allocations: 0.5712 MB / 1.232 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.6628, allocations: 0.8486 MB / 1.233 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.6638, allocations: 0.8101 MB / 1.234 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.6639, allocations: 52 kB / 1.234 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/0.6669, allocations: 1.212 MB / 1.235 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004665/0.6673, allocations: 450.7 kB / 1.235 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.6677, allocations: 225.1 kB / 1.236 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.6697, allocations: 1.384 MB / 1.237 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6697, allocations: 0 / 1.237 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.465e-06/0.6697, allocations: 0 / 1.237 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.6697, allocations: 0 / 1.237 GB, free: 13.52 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003553/0.6733, allocations: 1.525 MB / 1.239 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.6733, allocations: 8.031 kB / 1.239 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005683/0.6739, allocations: 158.5 kB / 1.239 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/0.6748, allocations: 0.6152 MB / 1.239 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.582e-05/0.6749, allocations: 66 kB / 1.239 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.675, allocations: 87.98 kB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.6769, allocations: 1.184 MB / 1.241 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.6769, allocations: 3.938 kB / 1.241 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.471e-05/0.677, allocations: 36 kB / 1.241 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.107e-05/0.6771, allocations: 53.97 kB / 1.241 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.6793, allocations: 1.495 MB / 1.242 GB, free: 8.176 MB / 0.9981 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.004697/0.684, allocations: 3.302 MB / 1.245 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.6861, allocations: 1.533 MB / 1.247 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009945/0.6871, allocations: 0.741 MB / 1.248 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/0.6885, allocations: 1.54 MB / 1.249 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.8575/1.546, allocations: 0.7317 MB / 1.25 GB, free: 57.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=127): time 6.392e-06/1.546, allocations: 0 / 1.25 GB, free: 57.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=127): time 0.004408/1.551, allocations: 1.936 MB / 1.252 GB, free: 57.01 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/1.551, allocations: 93.31 kB / 1.252 GB, free: 56.92 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/1.552, allocations: 0.7687 MB / 1.253 GB, free: 56.79 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.065e-05/1.552, allocations: 47.98 kB / 1.253 GB, free: 56.76 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/1.552, allocations: 357 kB / 1.253 GB, free: 56.64 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/1.553, allocations: 426 kB / 1.253 GB, free: 56.38 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/1.553, allocations: 20.47 kB / 1.253 GB, free: 56.38 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.553, allocations: 410.2 kB / 1.254 GB, free: 56.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000729/1.554, allocations: 0.5231 MB / 1.254 GB, free: 56.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007676/1.554, allocations: 0.6334 MB / 1.255 GB, free: 56.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008577/1.555, allocations: 0.6413 MB / 1.256 GB, free: 55.97 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.555, allocations: 0 / 1.256 GB, free: 55.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002145/1.557, allocations: 1.497 MB / 1.257 GB, free: 55.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/1.557, allocations: 39.58 kB / 1.257 GB, free: 55.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.557, allocations: 2.531 kB / 1.257 GB, free: 55.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/1.558, allocations: 5.625 kB / 1.257 GB, free: 55.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008957/1.558, allocations: 226 kB / 1.257 GB, free: 55.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/1.558, allocations: 7.25 kB / 1.257 GB, free: 55.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007551/1.559, allocations: 124.9 kB / 1.257 GB, free: 55.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-05/1.559, allocations: 45.03 kB / 1.257 GB, free: 55.74 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,$PRE.bouPre.nextEvent,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004789/1.56, allocations: 361 kB / 1.258 GB, free: 55.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/1.56, allocations: 102.3 kB / 1.258 GB, free: 55.54 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/1.563, allocations: 1.659 MB / 1.259 GB, free: 55.41 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/1.563, allocations: 13.5 kB / 1.259 GB, free: 55.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.563, allocations: 2.062 kB / 1.259 GB, free: 55.41 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/1.563, allocations: 6.188 kB / 1.259 GB, free: 55.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006004/1.569, allocations: 3.728 MB / 1.263 GB, free: 54.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/1.569, allocations: 10 kB / 1.263 GB, free: 54.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009293/1.57, allocations: 218.1 kB / 1.263 GB, free: 54.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.612e-05/1.57, allocations: 13.08 kB / 1.263 GB, free: 54.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.772e-05/1.57, allocations: 39.33 kB / 1.263 GB, free: 54.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.498e-05/1.57, allocations: 16.34 kB / 1.263 GB, free: 54.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/1.57, allocations: 10.28 kB / 1.263 GB, free: 54.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004288/1.574, allocations: 2.638 MB / 1.266 GB, free: 54.08 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006201/1.575, allocations: 329.1 kB / 1.266 GB, free: 53.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/1.575, allocations: 30.92 kB / 1.266 GB, free: 53.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006611/1.576, allocations: 64.16 kB / 1.266 GB, free: 53.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00026/1.576, allocations: 97.88 kB / 1.267 GB, free: 53.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.576, allocations: 49.03 kB / 1.267 GB, free: 53.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008876/1.577, allocations: 0.5474 MB / 1.267 GB, free: 53.81 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.577, allocations: 0 / 1.267 GB, free: 53.81 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001414/1.578, allocations: 369.4 kB / 1.267 GB, free: 53.79 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007483/1.579, allocations: 304.6 kB / 1.268 GB, free: 53.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002869/1.582, allocations: 1.386 MB / 1.269 GB, free: 53.61 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.582, allocations: 0.9375 kB / 1.269 GB, free: 53.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/1.583, allocations: 0.7755 MB / 1.27 GB, free: 53.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/1.585, allocations: 404.5 kB / 1.27 GB, free: 53.54 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/1.589, allocations: 2.717 MB / 1.273 GB, free: 52.33 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007329/1.59, allocations: 1.112 MB / 1.274 GB, free: 51.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00145/1.591, allocations: 438.2 kB / 1.274 GB, free: 51.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/1.592, allocations: 88.17 kB / 1.274 GB, free: 51.54 MB / 0.9981 GB Notification: Performance of SimCode: time 1.513e-06/1.592, allocations: 0 / 1.274 GB, free: 51.54 MB / 0.9981 GB Notification: Performance of Templates: time 0.03585/1.628, allocations: 16.62 MB / 1.291 GB, free: 50.55 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches