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 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.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.0009727/0.0009729, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008978/0.0008979, allocations: 177.3 kB / 15.95 MB, free: 216 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.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.528/2.528, allocations: 436.5 MB / 0.7104 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003583, allocations: 8 kB / 0.8708 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6998/0.7002, allocations: 153.6 MB / 1.021 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature): time 0.1784/0.8786, allocations: 153.5 MB / 1.171 GB, free: 7.203 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008041/0.8867, allocations: 4.895 MB / 1.175 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009806/0.8878, allocations: 11.94 kB / 1.175 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.8893, allocations: 0.4942 MB / 1.176 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003512/0.8928, allocations: 1.184 MB / 1.177 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.8948, allocations: 0.572 MB / 1.178 GB, free: 36 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00203/0.8968, allocations: 1.239 MB / 1.179 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009366/0.8977, allocations: 0.6181 MB / 1.179 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.9, allocations: 1.001 MB / 1.18 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008862/0.9009, allocations: 0.5803 MB / 1.181 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.901, allocations: 52 kB / 1.181 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.9034, allocations: 0.8659 MB / 1.182 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004503/0.9039, allocations: 399 kB / 1.182 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003286/0.9042, allocations: 233.1 kB / 1.183 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.9059, allocations: 1.216 MB / 1.184 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.9059, allocations: 0 / 1.184 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9059, allocations: 0 / 1.184 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.9059, allocations: 0 / 1.184 GB, free: 9.82 MB / 0.9356 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.003811/0.9097, allocations: 1.471 MB / 1.185 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.9098, allocations: 11.98 kB / 1.185 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005979/0.9104, allocations: 158.5 kB / 1.185 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.9115, allocations: 0.6075 MB / 1.186 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.9116, allocations: 62 kB / 1.186 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.9117, allocations: 87.98 kB / 1.186 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.9134, allocations: 1.176 MB / 1.187 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.9134, allocations: 7.984 kB / 1.187 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/0.9135, allocations: 32 kB / 1.187 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.245e-05/0.9136, allocations: 53.92 kB / 1.187 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.9157, allocations: 1.495 MB / 1.189 GB, free: 4.551 MB / 0.9356 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.005181/0.9209, allocations: 3.559 MB / 1.192 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.923, allocations: 1.43 MB / 1.194 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007376/0.9237, allocations: 0.788 MB / 1.194 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009983/0.9247, allocations: 0.7473 MB / 1.195 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=123): time 2.896e-06/0.9247, allocations: 0 / 1.195 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=123): time 0.002922/0.9277, allocations: 1.919 MB / 1.197 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.9277, allocations: 123.8 kB / 1.197 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.9288, allocations: 0.8329 MB / 1.198 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.289e-05/0.9289, allocations: 41.7 kB / 1.198 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.9292, allocations: 365.1 kB / 1.198 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/0.9295, allocations: 414 kB / 1.199 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.9296, allocations: 28 kB / 1.199 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.9297, allocations: 349.9 kB / 1.199 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007316/0.9304, allocations: 0.5022 MB / 1.2 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008611/0.9313, allocations: 0.6475 MB / 1.2 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008931/0.9322, allocations: 0.6215 MB / 1.201 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.9322, allocations: 0 / 1.201 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002179/0.9344, allocations: 1.478 MB / 1.202 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.9345, allocations: 33.7 kB / 1.202 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.9345, allocations: 4 kB / 1.202 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.9345, allocations: 8 kB / 1.202 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009515/0.9355, allocations: 223.7 kB / 1.202 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.9355, allocations: 8 kB / 1.203 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008384/0.9363, allocations: 138.9 kB / 1.203 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.9365, allocations: 43.98 kB / 1.203 GB, free: 5.703 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,$PRE.bouTem.nextEvent,bouTem.nextEvent,bouTem.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005097/0.937, allocations: 377.1 kB / 1.203 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.9371, allocations: 106.8 kB / 1.203 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.9393, allocations: 1.344 MB / 1.204 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.9394, allocations: 12 kB / 1.204 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.9394, allocations: 0 / 1.204 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.9394, allocations: 11.97 kB / 1.204 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02006/0.9595, allocations: 16.96 MB / 1.221 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/0.9596, allocations: 24 kB / 1.221 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009006/0.9605, allocations: 228.4 kB / 1.221 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.448e-05/0.9605, allocations: 36 kB / 1.221 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.9607, allocations: 67.98 kB / 1.221 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-05/0.9607, allocations: 47.8 kB / 1.221 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-05/0.9607, allocations: 39.81 kB / 1.221 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004952/0.9657, allocations: 4.499 MB / 1.226 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008028/0.9665, allocations: 359.3 kB / 1.226 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.9667, allocations: 63.97 kB / 1.226 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009249/0.9677, allocations: 60.05 kB / 1.226 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.9679, allocations: 171.3 kB / 1.226 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.968, allocations: 75.98 kB / 1.227 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007807/0.9688, allocations: 0.5849 MB / 1.227 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9688, allocations: 3.938 kB / 1.227 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001272/0.9701, allocations: 371.7 kB / 1.227 GB, free: 9.254 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 115 * 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 (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.0006497/0.9707, allocations: 328.6 kB / 1.228 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002032/0.9728, allocations: 1.355 MB / 1.229 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.9728, allocations: 4 kB / 1.229 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.9739, allocations: 0.7823 MB / 1.23 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.9762, allocations: 473.6 kB / 1.23 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00503/0.9812, allocations: 3.3 MB / 1.234 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000888/0.9821, allocations: 1.136 MB / 1.235 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001402/0.9835, allocations: 436.1 kB / 1.235 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.9838, allocations: 95.36 kB / 1.235 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of SimCode: time 1.643e-06/0.9838, allocations: 0 / 1.235 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of Templates: time 0.575/1.559, allocations: 17.34 MB / 1.252 GB, free: 229.8 MB / 0.9981 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","../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches