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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.279/2.279, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001335/0.001335, allocations: 175 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0009974/0.0009975, allocations: 99.81 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.951e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3039, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.219/6.523, allocations: 1.924 GB / 3.143 GB, free: 390.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/6.523, allocations: 79.95 kB / 3.143 GB, free: 390.6 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.93/8.453, allocations: 462.3 MB / 3.594 GB, free: 306.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.896e-06/8.453, allocations: 0 / 3.594 GB, free: 306.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000104/8.453, allocations: 27.31 kB / 3.594 GB, free: 306.2 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.005781/8.458, allocations: 1.503 MB / 3.596 GB, free: 305.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/8.459, allocations: 9.625 kB / 3.596 GB, free: 305.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/8.46, allocations: 159 kB / 3.596 GB, free: 305.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/8.462, allocations: 0.637 MB / 3.596 GB, free: 305.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/8.462, allocations: 72.94 kB / 3.596 GB, free: 305.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000489/8.462, allocations: 83.53 kB / 3.597 GB, free: 305.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003274/8.466, allocations: 1.162 MB / 3.598 GB, free: 305.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-05/8.466, allocations: 3.969 kB / 3.598 GB, free: 305.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/8.466, allocations: 32.64 kB / 3.598 GB, free: 305.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.487e-05/8.466, allocations: 52.17 kB / 3.598 GB, free: 305.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002984/8.469, allocations: 1.443 MB / 3.599 GB, free: 305.1 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.00804/8.477, allocations: 3.61 MB / 3.603 GB, free: 303.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/8.48, allocations: 1.439 MB / 3.604 GB, free: 303.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/8.481, allocations: 0.7002 MB / 3.605 GB, free: 303.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009393/8.482, allocations: 0.9605 MB / 3.606 GB, free: 302.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/8.483, allocations: 0.7112 MB / 3.606 GB, free: 302.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=123): time 5.42e-06/8.483, allocations: 3.688 kB / 3.606 GB, free: 302.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=123): time 0.002705/8.485, allocations: 1.402 MB / 3.608 GB, free: 302.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/8.485, allocations: 97.05 kB / 3.608 GB, free: 302.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/8.487, allocations: 0.7394 MB / 3.609 GB, free: 302.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/8.487, allocations: 50.05 kB / 3.609 GB, free: 302.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/8.487, allocations: 365.2 kB / 3.609 GB, free: 302 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004098/8.488, allocations: 413.6 kB / 3.609 GB, free: 301.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/8.488, allocations: 28.66 kB / 3.609 GB, free: 301.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001177/8.488, allocations: 351.4 kB / 3.61 GB, free: 301.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008039/8.489, allocations: 0.5146 MB / 3.61 GB, free: 301.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009139/8.49, allocations: 0.6635 MB / 3.611 GB, free: 301.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/8.491, allocations: 0.645 MB / 3.612 GB, free: 301.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/8.491, allocations: 0 / 3.612 GB, free: 301.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002543/8.493, allocations: 1.528 MB / 3.613 GB, free: 301.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.665e-05/8.493, allocations: 41.28 kB / 3.613 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/8.493, allocations: 3.75 kB / 3.613 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/8.493, allocations: 6.938 kB / 3.613 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009148/8.494, allocations: 223.2 kB / 3.613 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/8.494, allocations: 5.75 kB / 3.613 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/8.496, allocations: 135.2 kB / 3.613 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/8.496, allocations: 55.3 kB / 3.613 GB, free: 301.2 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 () * 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.0002651/8.496, allocations: 205.3 kB / 3.614 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/8.496, allocations: 108.2 kB / 3.614 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/8.499, allocations: 1.647 MB / 3.615 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/8.499, allocations: 11.84 kB / 3.615 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/8.499, allocations: 0 / 3.615 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/8.499, allocations: 3.938 kB / 3.615 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005631/8.505, allocations: 3.412 MB / 3.619 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/8.505, allocations: 10.67 kB / 3.619 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008396/8.506, allocations: 209.2 kB / 3.619 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.108e-05/8.506, allocations: 8.406 kB / 3.619 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/8.506, allocations: 45.12 kB / 3.619 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-05/8.506, allocations: 11.66 kB / 3.619 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/8.506, allocations: 6.438 kB / 3.619 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003881/8.51, allocations: 2.851 MB / 3.622 GB, free: 299.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009399/8.511, allocations: 346.7 kB / 3.622 GB, free: 299.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/8.511, allocations: 31.91 kB / 3.622 GB, free: 299.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008567/8.512, allocations: 53.06 kB / 3.622 GB, free: 299.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/8.512, allocations: 90.69 kB / 3.622 GB, free: 299.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.17e-05/8.512, allocations: 51.78 kB / 3.622 GB, free: 299.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008187/8.513, allocations: 0.5887 MB / 3.623 GB, free: 299 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/8.513, allocations: 0 / 3.623 GB, free: 299 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001932/8.515, allocations: 0.5067 MB / 3.623 GB, free: 299 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) * 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.00281/8.518, allocations: 1.61 MB / 3.625 GB, free: 298.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002198/8.52, allocations: 1.316 MB / 3.626 GB, free: 298.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/8.52, allocations: 3.906 kB / 3.626 GB, free: 298.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008793/8.521, allocations: 0.7173 MB / 3.627 GB, free: 298.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/8.523, allocations: 420.7 kB / 3.627 GB, free: 298.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/8.527, allocations: 1.904 MB / 3.629 GB, free: 297.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007158/8.527, allocations: 1.122 MB / 3.63 GB, free: 297.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001589/8.529, allocations: 436.8 kB / 3.631 GB, free: 297.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/8.529, allocations: 89.5 kB / 3.631 GB, free: 297.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.683e-06/8.529, allocations: 0 / 3.631 GB, free: 297.1 MB / 1.167 GB Notification: Performance of Templates: time 0.06293/8.592, allocations: 39.42 MB / 3.669 GB, free: 291.4 MB / 1.167 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