Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 177.1 kB / 498.1 MB, free: 5.762 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 223.2 MB / 0.7949 GB, free: 17.99 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 102.8 kB / 0.9346 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.000403, allocations: 6.938 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3467, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.953/5.3, allocations: 1.923 GB / 3.146 GB, free: 65.14 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/5.3, allocations: 96.92 kB / 3.146 GB, free: 65.09 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 1.601/6.901, allocations: 462.7 MB / 3.598 GB, free: 75.85 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.415e-06/6.901, allocations: 0 / 3.598 GB, free: 75.85 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.565e-05/6.901, allocations: 20 kB / 3.598 GB, free: 75.83 MB / 1.167 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.004411/6.905, allocations: 1.658 MB / 3.6 GB, free: 74.11 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/6.906, allocations: 8.031 kB / 3.6 GB, free: 74.11 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006871/6.906, allocations: 158.5 kB / 3.6 GB, free: 73.95 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/6.907, allocations: 0.6368 MB / 3.6 GB, free: 73.27 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/6.907, allocations: 66 kB / 3.6 GB, free: 73.21 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/6.908, allocations: 95.92 kB / 3.6 GB, free: 73.11 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/6.909, allocations: 1.18 MB / 3.602 GB, free: 71.92 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/6.909, allocations: 0 / 3.602 GB, free: 71.92 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.332e-05/6.909, allocations: 32 kB / 3.602 GB, free: 71.89 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.238e-05/6.909, allocations: 45.98 kB / 3.602 GB, free: 71.84 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/6.911, allocations: 1.475 MB / 3.603 GB, free: 70.37 MB / 1.167 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.004767/6.916, allocations: 3.602 MB / 3.607 GB, free: 66.53 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/6.918, allocations: 1.446 MB / 3.608 GB, free: 65.08 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006853/6.918, allocations: 0.9697 MB / 3.609 GB, free: 63.91 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008519/6.919, allocations: 0.7202 MB / 3.61 GB, free: 63.17 MB / 1.167 GB Notification: Performance of pre-optimization done (n=123): time 3.376e-06/6.919, allocations: 0 / 3.61 GB, free: 63.17 MB / 1.167 GB Notification: Performance of matching and sorting (n=123): time 0.003223/6.923, allocations: 2.008 MB / 3.612 GB, free: 61.13 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.303e-05/6.923, allocations: 98.09 kB / 3.612 GB, free: 61.02 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009975/6.924, allocations: 0.754 MB / 3.612 GB, free: 60.25 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/6.924, allocations: 49.7 kB / 3.613 GB, free: 60.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/6.924, allocations: 365.1 kB / 3.613 GB, free: 59.84 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/6.924, allocations: 414 kB / 3.613 GB, free: 59.43 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/6.924, allocations: 20 kB / 3.613 GB, free: 59.41 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001029/6.924, allocations: 349.9 kB / 3.614 GB, free: 59.06 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006418/6.925, allocations: 0.5296 MB / 3.614 GB, free: 58.53 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007877/6.926, allocations: 0.6721 MB / 3.615 GB, free: 57.82 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007623/6.927, allocations: 0.6483 MB / 3.615 GB, free: 57.17 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/6.927, allocations: 0 / 3.615 GB, free: 57.17 MB / 1.167 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002013/6.929, allocations: 1.551 MB / 3.617 GB, free: 55.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/6.929, allocations: 37.69 kB / 3.617 GB, free: 55.56 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/6.929, allocations: 4.281 kB / 3.617 GB, free: 55.55 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/6.929, allocations: 12 kB / 3.617 GB, free: 55.54 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008655/6.93, allocations: 219.7 kB / 3.617 GB, free: 55.33 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/6.93, allocations: 11.94 kB / 3.617 GB, free: 55.32 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008899/6.931, allocations: 138.6 kB / 3.617 GB, free: 55.18 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/6.931, allocations: 51.98 kB / 3.617 GB, free: 55.13 MB / 1.167 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 ($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.000532/6.931, allocations: 375.2 kB / 3.618 GB, free: 54.75 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/6.931, allocations: 102.8 kB / 3.618 GB, free: 54.64 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/6.934, allocations: 1.669 MB / 3.619 GB, free: 52.96 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/6.934, allocations: 12 kB / 3.619 GB, free: 52.95 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/6.934, allocations: 0 / 3.619 GB, free: 52.95 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/6.934, allocations: 3.984 kB / 3.62 GB, free: 52.94 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004465/6.938, allocations: 3.428 MB / 3.623 GB, free: 49.36 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/6.938, allocations: 8.156 kB / 3.623 GB, free: 49.35 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007715/6.939, allocations: 211.7 kB / 3.623 GB, free: 49.14 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/6.939, allocations: 16 kB / 3.623 GB, free: 49.13 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.447e-05/6.939, allocations: 32 kB / 3.623 GB, free: 49.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/6.939, allocations: 15.98 kB / 3.623 GB, free: 49.08 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/6.939, allocations: 7.938 kB / 3.623 GB, free: 49.07 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002921/6.942, allocations: 2.879 MB / 3.626 GB, free: 45.95 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006746/6.943, allocations: 339.5 kB / 3.626 GB, free: 45.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/6.943, allocations: 32 kB / 3.626 GB, free: 45.57 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006526/6.944, allocations: 52.03 kB / 3.626 GB, free: 45.52 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/6.944, allocations: 92.75 kB / 3.626 GB, free: 45.42 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.181e-05/6.944, allocations: 51.98 kB / 3.626 GB, free: 45.37 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006763/6.945, allocations: 0.5966 MB / 3.627 GB, free: 44.78 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/6.945, allocations: 0 / 3.627 GB, free: 44.78 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001534/6.946, allocations: 0.5152 MB / 3.628 GB, free: 44.26 MB / 1.167 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 (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.001989/6.948, allocations: 1.612 MB / 3.629 GB, free: 42.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001685/6.95, allocations: 1.334 MB / 3.63 GB, free: 41.25 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/6.95, allocations: 0 / 3.63 GB, free: 41.25 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007301/6.951, allocations: 0.7247 MB / 3.631 GB, free: 40.52 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/6.952, allocations: 423.6 kB / 3.632 GB, free: 40.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/6.955, allocations: 2.651 MB / 3.634 GB, free: 37.34 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/6.956, allocations: 1.133 MB / 3.635 GB, free: 36.18 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001247/6.957, allocations: 428 kB / 3.636 GB, free: 35.76 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/6.957, allocations: 95.41 kB / 3.636 GB, free: 35.66 MB / 1.167 GB Notification: Performance of SimCode: time 1.262e-06/6.957, allocations: 0 / 3.636 GB, free: 35.66 MB / 1.167 GB Notification: Performance of Templates: time 0.04602/7.003, allocations: 35.37 MB / 3.67 GB, free: 444 kB / 1.167 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches