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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.258/2.258, allocations: 390.5 MB / 398 MB, free: 10.88 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.001053/0.001053, allocations: 176.9 kB / 491.2 MB, free: 1.555 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.543/1.543, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009229/0.0009229, allocations: 95.83 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.43e-05/1.434e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2957, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.27/6.565, allocations: 1.923 GB / 3.136 GB, free: 343 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/6.566, allocations: 84.05 kB / 3.136 GB, free: 343 MB / 1.151 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.877/8.443, allocations: 456.3 MB / 3.581 GB, free: 305.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.076e-06/8.443, allocations: 3.688 kB / 3.581 GB, free: 305.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.185e-05/8.443, allocations: 26.42 kB / 3.581 GB, free: 305.4 MB / 1.151 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.005099/8.448, allocations: 1.507 MB / 3.583 GB, free: 304.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.227e-05/8.448, allocations: 9.625 kB / 3.583 GB, free: 304.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008413/8.449, allocations: 161.2 kB / 3.583 GB, free: 304.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/8.451, allocations: 0.6381 MB / 3.583 GB, free: 304.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/8.451, allocations: 29.72 kB / 3.583 GB, free: 304.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/8.451, allocations: 51.62 kB / 3.584 GB, free: 304.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002037/8.453, allocations: 1.316 MB / 3.585 GB, free: 304.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/8.454, allocations: 1.04 MB / 3.586 GB, free: 304.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/8.455, allocations: 3.891 kB / 3.586 GB, free: 304.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-05/8.455, allocations: 5.125 kB / 3.586 GB, free: 304.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.65e-05/8.455, allocations: 47.86 kB / 3.586 GB, free: 304.3 MB / 1.151 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.005046/8.46, allocations: 3.381 MB / 3.589 GB, free: 303 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/8.462, allocations: 1.375 MB / 3.591 GB, free: 303 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000836/8.462, allocations: 0.6641 MB / 3.591 GB, free: 302.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000842/8.463, allocations: 0.967 MB / 3.592 GB, free: 301.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009605/8.464, allocations: 0.6703 MB / 3.593 GB, free: 301.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=123): time 2.725e-06/8.464, allocations: 3.344 kB / 3.593 GB, free: 301.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=123): time 0.003076/8.467, allocations: 1.413 MB / 3.594 GB, free: 301.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/8.467, allocations: 89.58 kB / 3.594 GB, free: 301.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006827/8.468, allocations: 0.5221 MB / 3.595 GB, free: 301.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.859e-05/8.468, allocations: 29.67 kB / 3.595 GB, free: 301.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/8.469, allocations: 379.9 kB / 3.595 GB, free: 301.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/8.469, allocations: 399.1 kB / 3.596 GB, free: 301.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/8.469, allocations: 3.781 kB / 3.596 GB, free: 301.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001747/8.469, allocations: 397.2 kB / 3.596 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006346/8.47, allocations: 0.4895 MB / 3.596 GB, free: 300.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007842/8.471, allocations: 0.675 MB / 3.597 GB, free: 300.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/8.472, allocations: 0.7099 MB / 3.598 GB, free: 300.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/8.472, allocations: 7.719 kB / 3.598 GB, free: 300.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002866/8.475, allocations: 1.536 MB / 3.599 GB, free: 300.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/8.475, allocations: 36.23 kB / 3.599 GB, free: 300.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/8.475, allocations: 3.875 kB / 3.599 GB, free: 300.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-05/8.475, allocations: 7.938 kB / 3.599 GB, free: 300.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009288/8.476, allocations: 237.8 kB / 3.6 GB, free: 300.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/8.476, allocations: 6.625 kB / 3.6 GB, free: 300.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009414/8.477, allocations: 86.38 kB / 3.6 GB, free: 300.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/8.477, allocations: 59.69 kB / 3.6 GB, free: 300.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0002288/8.477, allocations: 169 kB / 3.6 GB, free: 300.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002598/8.48, allocations: 1.408 MB / 3.601 GB, free: 300.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/8.48, allocations: 96.03 kB / 3.601 GB, free: 300.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/8.483, allocations: 1.61 MB / 3.603 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/8.483, allocations: 13.59 kB / 3.603 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/8.483, allocations: 0 / 3.603 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/8.483, allocations: 3.609 kB / 3.603 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005431/8.489, allocations: 3.231 MB / 3.606 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/8.489, allocations: 5.25 kB / 3.606 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008762/8.49, allocations: 208.8 kB / 3.606 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.942e-05/8.49, allocations: 10.81 kB / 3.606 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.836e-05/8.49, allocations: 17.91 kB / 3.606 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/8.49, allocations: 18.12 kB / 3.606 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/8.49, allocations: 13.27 kB / 3.606 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004155/8.494, allocations: 2.822 MB / 3.609 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006798/8.495, allocations: 328.2 kB / 3.609 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/8.495, allocations: 9.375 kB / 3.609 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000701/8.496, allocations: 43.91 kB / 3.609 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/8.496, allocations: 88.72 kB / 3.61 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.119e-05/8.496, allocations: 49.12 kB / 3.61 GB, free: 296.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005308/8.496, allocations: 412.5 kB / 3.61 GB, free: 296.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.3e-07/8.496, allocations: 0 / 3.61 GB, free: 296.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001803/8.498, allocations: 458.3 kB / 3.61 GB, free: 296.3 MB / 1.151 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.00719/8.505, allocations: 6.59 MB / 3.617 GB, free: 292.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002049/8.508, allocations: 1.245 MB / 3.618 GB, free: 291.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/8.508, allocations: 7.531 kB / 3.618 GB, free: 291.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008588/8.508, allocations: 0.6892 MB / 3.619 GB, free: 291.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/8.51, allocations: 217.1 kB / 3.619 GB, free: 291.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/8.514, allocations: 2.05 MB / 3.621 GB, free: 290.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006829/8.515, allocations: 1.122 MB / 3.622 GB, free: 290.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001457/8.516, allocations: 405.2 kB / 3.622 GB, free: 290 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005977/8.517, allocations: 358.1 kB / 3.623 GB, free: 289.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.493e-06/8.517, allocations: 3.938 kB / 3.623 GB, free: 289.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06623/8.583, allocations: 32.15 MB / 3.654 GB, free: 270.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/8.583, allocations: 177.2 kB / 3.654 GB, free: 270.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.638/12.22, allocations: 0 / 3.654 GB, free: 270.6 MB / 1.151 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat does not exist to compare? outputFormat=mat