Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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.DoorOpenClosed,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",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.265/2.265, allocations: 390.5 MB / 398 MB, free: 11 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.001842/0.001842, allocations: 191.7 kB / 491.2 MB, free: 1.629 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.755/1.755, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001162/0.001161, allocations: 93.92 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.256e-05/2.26e-05, allocations: 5.484 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3259, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.543/6.869, allocations: 1.921 GB / 3.133 GB, free: 344 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/6.87, allocations: 86.8 kB / 3.133 GB, free: 344 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 2.418/9.288, allocations: 0.6598 GB / 3.793 GB, free: 127.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.713e-06/9.288, allocations: 0 / 3.793 GB, free: 127.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001002/9.288, allocations: 20 kB / 3.793 GB, free: 127.9 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.004867/9.293, allocations: 1.357 MB / 3.794 GB, free: 126.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/9.293, allocations: 8.031 kB / 3.794 GB, free: 126.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009858/9.294, allocations: 154.8 kB / 3.794 GB, free: 126.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/9.295, allocations: 0.5628 MB / 3.795 GB, free: 125.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/9.295, allocations: 24 kB / 3.795 GB, free: 125.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/9.295, allocations: 40 kB / 3.795 GB, free: 125.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001159/9.297, allocations: 0.5623 MB / 3.795 GB, free: 125.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/9.298, allocations: 0.7074 MB / 3.796 GB, free: 124.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/9.298, allocations: 0 / 3.796 GB, free: 124.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/9.298, allocations: 3.953 kB / 3.796 GB, free: 124.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.658e-05/9.298, allocations: 41.98 kB / 3.796 GB, free: 124.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.004878/9.303, allocations: 4.375 MB / 3.8 GB, free: 119.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008116/9.304, allocations: 427.5 kB / 3.801 GB, free: 119 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/9.304, allocations: 157.5 kB / 3.801 GB, free: 118.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000534/9.304, allocations: 0.7639 MB / 3.802 GB, free: 117.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/9.304, allocations: 34.89 kB / 3.802 GB, free: 117.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 2.935e-06/9.304, allocations: 0 / 3.802 GB, free: 117.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.0008803/9.305, allocations: 395.7 kB / 3.802 GB, free: 117.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/9.305, allocations: 59.41 kB / 3.802 GB, free: 117.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005409/9.306, allocations: 490.1 kB / 3.803 GB, free: 116.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/9.306, allocations: 29.7 kB / 3.803 GB, free: 116.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/9.306, allocations: 407.2 kB / 3.803 GB, free: 116.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.804e-05/9.306, allocations: 137.9 kB / 3.803 GB, free: 116.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/9.306, allocations: 0 / 3.803 GB, free: 116.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001133/9.306, allocations: 362.8 kB / 3.804 GB, free: 116 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/9.307, allocations: 161.1 kB / 3.804 GB, free: 115.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/9.307, allocations: 300.7 kB / 3.804 GB, free: 115.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/9.307, allocations: 212.1 kB / 3.804 GB, free: 115.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/9.307, allocations: 0 / 3.804 GB, free: 115.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007537/9.308, allocations: 0.5163 MB / 3.805 GB, free: 114.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/9.308, allocations: 12.03 kB / 3.805 GB, free: 114.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/9.308, allocations: 4 kB / 3.805 GB, free: 114.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/9.308, allocations: 4 kB / 3.805 GB, free: 114.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/9.309, allocations: 107.9 kB / 3.805 GB, free: 114.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/9.309, allocations: 7.938 kB / 3.805 GB, free: 114.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007113/9.309, allocations: 71.55 kB / 3.805 GB, free: 114.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/9.309, allocations: 27.98 kB / 3.805 GB, free: 114.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * 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.0001259/9.31, allocations: 116.7 kB / 3.805 GB, free: 114.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005102/9.31, allocations: 380.6 kB / 3.805 GB, free: 114 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/9.31, allocations: 55.34 kB / 3.805 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007472/9.311, allocations: 470.9 kB / 3.806 GB, free: 113.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/9.311, allocations: 7.938 kB / 3.806 GB, free: 113.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/9.311, allocations: 0 / 3.806 GB, free: 113.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/9.311, allocations: 3.984 kB / 3.806 GB, free: 113.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002636/9.314, allocations: 1.819 MB / 3.808 GB, free: 111.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/9.314, allocations: 20.14 kB / 3.808 GB, free: 111.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/9.314, allocations: 91.83 kB / 3.808 GB, free: 111.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/9.314, allocations: 12 kB / 3.808 GB, free: 111.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/9.314, allocations: 8 kB / 3.808 GB, free: 111.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/9.314, allocations: 8 kB / 3.808 GB, free: 111.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/9.314, allocations: 11.94 kB / 3.808 GB, free: 111.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/9.315, allocations: 1.186 MB / 3.809 GB, free: 109.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/9.316, allocations: 200.2 kB / 3.809 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.843e-05/9.316, allocations: 15.94 kB / 3.809 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005153/9.316, allocations: 47.92 kB / 3.809 GB, free: 109.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/9.316, allocations: 51.84 kB / 3.809 GB, free: 109.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/9.316, allocations: 16 kB / 3.809 GB, free: 109.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003786/9.317, allocations: 386.9 kB / 3.81 GB, free: 109.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/9.317, allocations: 0 / 3.81 GB, free: 109.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001334/9.318, allocations: 395.2 kB / 3.81 GB, free: 108.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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.004451/9.322, allocations: 5.698 MB / 3.816 GB, free: 102.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006421/9.323, allocations: 394.9 kB / 3.816 GB, free: 102.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/9.323, allocations: 0 / 3.816 GB, free: 102.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/9.323, allocations: 205.4 kB / 3.816 GB, free: 102.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/9.325, allocations: 221.6 kB / 3.816 GB, free: 102 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/9.327, allocations: 1.289 MB / 3.818 GB, free: 100.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/9.328, allocations: 1.027 MB / 3.819 GB, free: 99.51 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006069/9.328, allocations: 140.7 kB / 3.819 GB, free: 99.37 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/9.329, allocations: 287.3 kB / 3.819 GB, free: 99.09 MB / 1.151 GB Notification: Performance of SimCode: time 7.12e-07/9.329, allocations: 0 / 3.819 GB, free: 99.09 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.056/9.385, allocations: 30.41 MB / 3.849 GB, free: 68.79 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/9.385, allocations: 179.3 kB / 3.849 GB, free: 68.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.241/12.63, allocations: 0 / 3.849 GB, free: 68.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat does not exist to compare? outputFormat=mat