Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.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.OpenDoorTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T_in|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T_in|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 108 kB / 15.61 MB, free: 152 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.001666/0.001667, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.464/1.464, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.971/2.971, allocations: 472.7 MB / 0.7452 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 60.08 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3308, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature): time 0.1994/0.5303, allocations: 184.5 MB / 1.248 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6499/1.18, allocations: 5.537 MB / 1.254 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00079/1.181, allocations: 17.41 kB / 1.254 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/1.183, allocations: 0.5782 MB / 1.254 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004405/1.187, allocations: 1.832 MB / 1.256 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/1.189, allocations: 0.6782 MB / 1.257 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002772/1.192, allocations: 2.145 MB / 1.259 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/1.193, allocations: 0.7237 MB / 1.26 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/1.195, allocations: 0.9276 MB / 1.261 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/1.196, allocations: 0.8194 MB / 1.261 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/1.196, allocations: 89.25 kB / 1.261 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004469/1.201, allocations: 1.998 MB / 1.263 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006584/1.202, allocations: 470.7 kB / 1.264 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008692/1.203, allocations: 0.5877 MB / 1.264 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005221/1.208, allocations: 2.136 MB / 1.266 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.208, allocations: 0.9688 kB / 1.266 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.784e-06/1.208, allocations: 2.062 kB / 1.266 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.099e-05/1.208, allocations: 0.9062 kB / 1.266 GB, free: 5.438 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.004788/1.213, allocations: 1.681 MB / 1.268 GB, free: 20.6 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.213, allocations: 9.719 kB / 1.268 GB, free: 20.6 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006604/1.213, allocations: 163.3 kB / 1.268 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009358/1.214, allocations: 0.6167 MB / 1.269 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/1.214, allocations: 66.03 kB / 1.269 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/1.214, allocations: 87.94 kB / 1.269 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/1.217, allocations: 1.193 MB / 1.27 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/1.217, allocations: 4.047 kB / 1.27 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.093e-05/1.217, allocations: 32.69 kB / 1.27 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.451e-05/1.217, allocations: 49.97 kB / 1.27 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/1.219, allocations: 1.506 MB / 1.272 GB, free: 20.16 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.005517/1.225, allocations: 3.575 MB / 1.275 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/1.227, allocations: 1.437 MB / 1.277 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/1.228, allocations: 0.6936 MB / 1.277 GB, free: 18.69 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/1.229, allocations: 0.9612 MB / 1.278 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/1.23, allocations: 0.6968 MB / 1.279 GB, free: 17.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=123): time 3.887e-06/1.23, allocations: 1.281 kB / 1.279 GB, free: 17.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=123): time 0.003223/1.233, allocations: 1.847 MB / 1.281 GB, free: 17.44 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/1.234, allocations: 99.95 kB / 1.281 GB, free: 17.35 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/1.235, allocations: 0.8414 MB / 1.282 GB, free: 17.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.259e-05/1.235, allocations: 45.88 kB / 1.282 GB, free: 17.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/1.235, allocations: 361.6 kB / 1.282 GB, free: 17.03 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002879/1.236, allocations: 412.9 kB / 1.282 GB, free: 16.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003014/1.236, allocations: 209.7 kB / 1.283 GB, free: 16.74 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.236, allocations: 355.8 kB / 1.283 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007082/1.237, allocations: 0.5064 MB / 1.283 GB, free: 16.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008789/1.238, allocations: 0.647 MB / 1.284 GB, free: 16.34 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/1.239, allocations: 1.281 MB / 1.285 GB, free: 16.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/1.239, allocations: 1.375 kB / 1.285 GB, free: 16.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002404/1.242, allocations: 1.486 MB / 1.287 GB, free: 16.03 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.07e-05/1.242, allocations: 42.8 kB / 1.287 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.242, allocations: 3.156 kB / 1.287 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/1.242, allocations: 8.516 kB / 1.287 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009126/1.243, allocations: 224 kB / 1.287 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.957e-05/1.243, allocations: 7.875 kB / 1.287 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007614/1.244, allocations: 110.1 kB / 1.287 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.491e-05/1.244, allocations: 46.08 kB / 1.287 GB, free: 15.94 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 (bouTem.nextEventScaled,bouTem.nextEvent,$PRE.bouTem.nextEvent,bouTem.last,bouTem.b,bouTem.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * 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.0006367/1.244, allocations: 375.3 kB / 1.288 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/1.245, allocations: 108 kB / 1.288 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/1.247, allocations: 1.588 MB / 1.289 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/1.247, allocations: 16.23 kB / 1.289 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.247, allocations: 0 / 1.289 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/1.247, allocations: 12.08 kB / 1.289 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004377/1.251, allocations: 3.287 MB / 1.292 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/1.251, allocations: 5.375 kB / 1.292 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008128/1.252, allocations: 205.5 kB / 1.293 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/1.252, allocations: 14.41 kB / 1.293 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-05/1.252, allocations: 37.52 kB / 1.293 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/1.252, allocations: 14.27 kB / 1.293 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.252, allocations: 9.625 kB / 1.293 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003094/1.256, allocations: 2.488 MB / 1.295 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004643/1.256, allocations: 333.1 kB / 1.296 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/1.256, allocations: 31.16 kB / 1.296 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005921/1.257, allocations: 32.34 kB / 1.296 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/1.257, allocations: 91.12 kB / 1.296 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.069e-05/1.257, allocations: 49.5 kB / 1.296 GB, free: 14.27 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006906/1.258, allocations: 0.5919 MB / 1.296 GB, free: 14.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.258, allocations: 2.156 kB / 1.296 GB, free: 14.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009879/1.259, allocations: 368.5 kB / 1.297 GB, free: 14.16 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * 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.0005758/1.259, allocations: 295 kB / 1.297 GB, free: 14.05 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002513/1.262, allocations: 1.831 MB / 1.299 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.262, allocations: 3.5 kB / 1.299 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008078/1.263, allocations: 0.7345 MB / 1.299 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/1.265, allocations: 454.3 kB / 1.3 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/1.268, allocations: 2.329 MB / 1.302 GB, free: 13 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/1.268, allocations: 1.105 MB / 1.303 GB, free: 12.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001195/1.269, allocations: 434.3 kB / 1.304 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/1.27, allocations: 89.77 kB / 1.304 GB, free: 12.24 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/1.27, allocations: 0 / 1.304 GB, free: 12.24 MB / 1.014 GB Notification: Performance of Templates: time 0.02631/1.296, allocations: 18.82 MB / 1.322 GB, free: 9.613 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches