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.001436/0.001436, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001911/0.001912, allocations: 198.1 kB / 16.26 MB, free: 6.621 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.441/1.441, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.933/2.933, allocations: 472.6 MB / 0.7449 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 60.81 kB / 0.9116 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3845, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorPressure): time 0.2085/0.593, allocations: 182.1 MB / 1.246 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.783/1.376, allocations: 5.505 MB / 1.251 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008959/1.377, allocations: 14.03 kB / 1.251 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/1.379, allocations: 0.5291 MB / 1.251 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004913/1.384, allocations: 1.73 MB / 1.253 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002144/1.386, allocations: 0.6129 MB / 1.254 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002979/1.389, allocations: 2.155 MB / 1.256 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/1.39, allocations: 0.6902 MB / 1.257 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/1.392, allocations: 0.953 MB / 1.257 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/1.393, allocations: 0.8785 MB / 1.258 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/1.393, allocations: 88.16 kB / 1.258 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004391/1.398, allocations: 2.053 MB / 1.26 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006687/1.398, allocations: 479.8 kB / 1.261 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009432/1.399, allocations: 0.5869 MB / 1.261 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005067/1.404, allocations: 2.254 MB / 1.264 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.404, allocations: 0.8438 kB / 1.264 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.155e-06/1.404, allocations: 0 / 1.264 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.818e-05/1.404, allocations: 0.9062 kB / 1.264 GB, free: 5.395 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.005036/1.409, allocations: 1.682 MB / 1.265 GB, free: 20.56 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.41, allocations: 10.47 kB / 1.265 GB, free: 20.56 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006674/1.41, allocations: 157.3 kB / 1.265 GB, free: 20.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/1.411, allocations: 0.6196 MB / 1.266 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/1.411, allocations: 67.83 kB / 1.266 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/1.411, allocations: 84.53 kB / 1.266 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/1.413, allocations: 1.196 MB / 1.267 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/1.413, allocations: 6.281 kB / 1.267 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.041e-05/1.414, allocations: 37.5 kB / 1.267 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.396e-05/1.414, allocations: 45.64 kB / 1.267 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/1.416, allocations: 1.506 MB / 1.269 GB, free: 20.12 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.005597/1.422, allocations: 3.301 MB / 1.272 GB, free: 18.99 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/1.424, allocations: 1.541 MB / 1.274 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/1.426, allocations: 0.7402 MB / 1.274 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/1.427, allocations: 1.54 MB / 1.276 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/1.428, allocations: 0.7378 MB / 1.277 GB, free: 17.17 MB / 1.014 GB Notification: Performance of pre-optimization done (n=127): time 3.096e-06/1.428, allocations: 0 / 1.277 GB, free: 17.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=127): time 0.003347/1.432, allocations: 1.951 MB / 1.278 GB, free: 17.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/1.432, allocations: 94.58 kB / 1.279 GB, free: 16.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.433, allocations: 0.7679 MB / 1.279 GB, free: 16.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.89e-05/1.433, allocations: 54.53 kB / 1.279 GB, free: 16.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/1.433, allocations: 357.8 kB / 1.28 GB, free: 16.61 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003875/1.434, allocations: 425.2 kB / 1.28 GB, free: 16.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003726/1.434, allocations: 202.1 kB / 1.28 GB, free: 16.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002384/1.434, allocations: 413.1 kB / 1.281 GB, free: 16.01 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007886/1.435, allocations: 0.5233 MB / 1.281 GB, free: 16 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008826/1.436, allocations: 0.6451 MB / 1.282 GB, free: 15.95 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/1.438, allocations: 1.288 MB / 1.283 GB, free: 15.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.438, allocations: 4.25 kB / 1.283 GB, free: 15.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00241/1.44, allocations: 1.501 MB / 1.285 GB, free: 15.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.632e-05/1.44, allocations: 38.12 kB / 1.285 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.44, allocations: 2.094 kB / 1.285 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/1.44, allocations: 9.375 kB / 1.285 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009697/1.441, allocations: 221.2 kB / 1.285 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/1.441, allocations: 6.344 kB / 1.285 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009686/1.442, allocations: 126.7 kB / 1.285 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.443, allocations: 42.16 kB / 1.285 GB, free: 15.61 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.0007417/1.443, allocations: 373.3 kB / 1.285 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/1.443, allocations: 102.4 kB / 1.285 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/1.446, allocations: 1.66 MB / 1.287 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/1.446, allocations: 12.19 kB / 1.287 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/1.446, allocations: 0 / 1.287 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/1.446, allocations: 9.062 kB / 1.287 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005827/1.452, allocations: 3.746 MB / 1.291 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/1.452, allocations: 6.5 kB / 1.291 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008915/1.453, allocations: 215.6 kB / 1.291 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.767e-05/1.453, allocations: 15.56 kB / 1.291 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.454e-05/1.453, allocations: 38.2 kB / 1.291 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.757e-05/1.453, allocations: 15.47 kB / 1.291 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/1.453, allocations: 11.22 kB / 1.291 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/1.457, allocations: 2.64 MB / 1.294 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007166/1.457, allocations: 338.1 kB / 1.294 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/1.458, allocations: 35.41 kB / 1.294 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007542/1.458, allocations: 53.47 kB / 1.294 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/1.459, allocations: 101 kB / 1.294 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.459, allocations: 43.06 kB / 1.294 GB, free: 13.77 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007521/1.459, allocations: 0.5517 MB / 1.295 GB, free: 13.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.459, allocations: 0.9375 kB / 1.295 GB, free: 13.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001194/1.461, allocations: 373.4 kB / 1.295 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.0006855/1.461, allocations: 299.2 kB / 1.295 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002882/1.464, allocations: 1.882 MB / 1.297 GB, free: 13.44 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.036e-06/1.464, allocations: 0 / 1.297 GB, free: 13.44 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009601/1.465, allocations: 0.7813 MB / 1.298 GB, free: 13.37 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/1.467, allocations: 406.7 kB / 1.298 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/1.471, allocations: 2.751 MB / 1.301 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006854/1.472, allocations: 1.112 MB / 1.302 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001352/1.473, allocations: 434 kB / 1.303 GB, free: 11.35 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/1.473, allocations: 86.44 kB / 1.303 GB, free: 11.34 MB / 1.014 GB Notification: Performance of SimCode: time 1.092e-06/1.473, allocations: 0 / 1.303 GB, free: 11.34 MB / 1.014 GB Notification: Performance of Templates: time 0.02928/1.503, allocations: 17.91 MB / 1.32 GB, free: 9.457 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