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 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.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.001325/0.001326, allocations: 108 kB / 15.6 MB, free: 132 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.00137/0.00137, allocations: 194 kB / 16.53 MB, free: 6.391 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 60.52 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4193, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorPressure): time 0.3124/0.7317, allocations: 184.5 MB / 1.248 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.9246/1.656, allocations: 5.534 MB / 1.254 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/1.658, allocations: 16.84 kB / 1.254 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001817/1.659, allocations: 0.5786 MB / 1.254 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006607/1.666, allocations: 1.834 MB / 1.256 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003349/1.669, allocations: 0.6756 MB / 1.257 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004835/1.674, allocations: 2.147 MB / 1.259 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/1.677, allocations: 0.7286 MB / 1.26 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003645/1.68, allocations: 0.9232 MB / 1.26 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002513/1.683, allocations: 0.8254 MB / 1.261 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002879/1.683, allocations: 89.62 kB / 1.261 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008221/1.691, allocations: 1.996 MB / 1.263 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001058/1.692, allocations: 471.4 kB / 1.264 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001339/1.694, allocations: 0.5892 MB / 1.264 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008223/1.702, allocations: 2.135 MB / 1.266 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.374e-05/1.702, allocations: 1.391 kB / 1.266 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.987e-06/1.702, allocations: 1.203 kB / 1.266 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.095e-05/1.702, allocations: 0 / 1.266 GB, free: 5.426 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.006767/1.709, allocations: 1.677 MB / 1.268 GB, free: 20.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/1.709, allocations: 10.81 kB / 1.268 GB, free: 20.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008443/1.71, allocations: 165.1 kB / 1.268 GB, free: 20.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/1.711, allocations: 0.6154 MB / 1.269 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.28e-05/1.711, allocations: 65.67 kB / 1.269 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/1.711, allocations: 92.34 kB / 1.269 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/1.714, allocations: 1.193 MB / 1.27 GB, free: 20.15 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/1.714, allocations: 2.484 kB / 1.27 GB, free: 20.15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.714, allocations: 37.62 kB / 1.27 GB, free: 20.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/1.714, allocations: 48.08 kB / 1.27 GB, free: 20.15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00333/1.718, allocations: 1.504 MB / 1.272 GB, free: 20.14 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.007586/1.725, allocations: 3.327 MB / 1.275 GB, free: 19.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/1.728, allocations: 1.538 MB / 1.276 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/1.73, allocations: 0.7421 MB / 1.277 GB, free: 18.97 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001891/1.732, allocations: 1.54 MB / 1.279 GB, free: 17.28 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001541/1.733, allocations: 0.7376 MB / 1.279 GB, free: 17.19 MB / 1.014 GB Notification: Performance of pre-optimization done (n=127): time 4.148e-06/1.733, allocations: 0.9375 kB / 1.279 GB, free: 17.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=127): time 0.004499/1.738, allocations: 1.95 MB / 1.281 GB, free: 17.05 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/1.738, allocations: 95.58 kB / 1.281 GB, free: 16.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/1.739, allocations: 0.7696 MB / 1.282 GB, free: 16.83 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/1.739, allocations: 44.73 kB / 1.282 GB, free: 16.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/1.74, allocations: 362.1 kB / 1.283 GB, free: 16.64 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004256/1.74, allocations: 426.3 kB / 1.283 GB, free: 16.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003965/1.741, allocations: 204.2 kB / 1.283 GB, free: 16.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002955/1.741, allocations: 411.6 kB / 1.284 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009648/1.742, allocations: 0.5248 MB / 1.284 GB, free: 16.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/1.743, allocations: 0.6353 MB / 1.285 GB, free: 15.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002297/1.745, allocations: 1.3 MB / 1.286 GB, free: 15.86 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/1.746, allocations: 1.969 kB / 1.286 GB, free: 15.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00323/1.749, allocations: 1.498 MB / 1.287 GB, free: 15.71 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.362e-05/1.749, allocations: 40.17 kB / 1.287 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/1.749, allocations: 4.156 kB / 1.287 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/1.749, allocations: 5.625 kB / 1.287 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/1.75, allocations: 221.5 kB / 1.288 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.678e-05/1.75, allocations: 6.469 kB / 1.288 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/1.751, allocations: 104.5 kB / 1.288 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/1.751, allocations: 43.81 kB / 1.288 GB, free: 15.62 MB / 1.014 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 (bouPre.nextEventScaled,bouPre.nextEvent,$PRE.bouPre.nextEvent,bouPre.last,bouPre.b,bouPre.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007737/1.752, allocations: 368.2 kB / 1.288 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/1.752, allocations: 102.3 kB / 1.288 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/1.755, allocations: 1.654 MB / 1.29 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/1.755, allocations: 16.25 kB / 1.29 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/1.756, allocations: 48 / 1.29 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/1.756, allocations: 13.55 kB / 1.29 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006538/1.762, allocations: 3.748 MB / 1.294 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/1.762, allocations: 10.69 kB / 1.294 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009722/1.763, allocations: 215.8 kB / 1.294 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-05/1.763, allocations: 13.44 kB / 1.294 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.9e-05/1.763, allocations: 38.27 kB / 1.294 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-05/1.763, allocations: 13.72 kB / 1.294 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/1.763, allocations: 11.31 kB / 1.294 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004254/1.768, allocations: 2.642 MB / 1.296 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008475/1.768, allocations: 334.6 kB / 1.297 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/1.769, allocations: 39.16 kB / 1.297 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008303/1.769, allocations: 35.56 kB / 1.297 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/1.77, allocations: 91.31 kB / 1.297 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.77, allocations: 48.34 kB / 1.297 GB, free: 13.79 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009243/1.771, allocations: 0.5506 MB / 1.297 GB, free: 13.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.663e-06/1.771, allocations: 0.9375 kB / 1.297 GB, free: 13.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001528/1.772, allocations: 383.3 kB / 1.298 GB, free: 13.66 MB / 1.014 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008086/1.773, allocations: 295.4 kB / 1.298 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003664/1.777, allocations: 1.875 MB / 1.3 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/1.777, allocations: 1.812 kB / 1.3 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/1.778, allocations: 0.7797 MB / 1.301 GB, free: 13.38 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/1.78, allocations: 400.7 kB / 1.301 GB, free: 13.33 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/1.784, allocations: 2.37 MB / 1.303 GB, free: 12.48 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/1.785, allocations: 1.113 MB / 1.305 GB, free: 11.78 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001661/1.787, allocations: 435.4 kB / 1.305 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/1.787, allocations: 93.09 kB / 1.305 GB, free: 11.72 MB / 1.014 GB Notification: Performance of SimCode: time 1.542e-06/1.787, allocations: 1.203 kB / 1.305 GB, free: 11.72 MB / 1.014 GB Notification: Performance of Templates: time 0.03471/1.822, allocations: 18 MB / 1.323 GB, free: 9.336 MB / 1.014 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