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.41/2.41, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001282/0.001282, allocations: 184.8 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.641/1.641, allocations: 221.3 MB / 0.7915 GB, free: 5.453 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.001095/0.001095, allocations: 87.95 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.607e-05/3.611e-05, allocations: 1.875 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3391, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.115/6.454, allocations: 1.921 GB / 3.14 GB, free: 337.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/6.454, allocations: 87.48 kB / 3.14 GB, free: 337.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 2.181/8.636, allocations: 0.6682 GB / 3.808 GB, free: 117.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.844e-06/8.636, allocations: 0 / 3.808 GB, free: 117.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.541e-05/8.636, allocations: 24.2 kB / 3.808 GB, free: 117.4 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003856/8.64, allocations: 1.36 MB / 3.81 GB, free: 116 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 8.511e-05/8.64, allocations: 12.03 kB / 3.81 GB, free: 116 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/8.64, allocations: 118.5 kB / 3.81 GB, free: 115.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007945/8.641, allocations: 146.8 kB / 3.81 GB, free: 115.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/8.642, allocations: 0.555 MB / 3.81 GB, free: 115.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/8.642, allocations: 61.98 kB / 3.811 GB, free: 115.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/8.642, allocations: 64 kB / 3.811 GB, free: 115 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/8.643, allocations: 0.8089 MB / 3.811 GB, free: 114.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/8.643, allocations: 3.953 kB / 3.811 GB, free: 114.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.938e-05/8.643, allocations: 28 kB / 3.811 GB, free: 114.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.839e-05/8.644, allocations: 41.98 kB / 3.811 GB, free: 114.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/8.645, allocations: 0.6833 MB / 3.812 GB, free: 113.4 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.004764/8.649, allocations: 4.6 MB / 3.817 GB, free: 108.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008917/8.65, allocations: 451.7 kB / 3.817 GB, free: 107.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/8.651, allocations: 177.4 kB / 3.817 GB, free: 107.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00054/8.651, allocations: 0.7639 MB / 3.818 GB, free: 106.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/8.651, allocations: 42.88 kB / 3.818 GB, free: 106.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=40): time 5.07e-06/8.651, allocations: 0 / 3.818 GB, free: 106.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=40): time 0.0008991/8.652, allocations: 434.5 kB / 3.818 GB, free: 106.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/8.652, allocations: 63.28 kB / 3.818 GB, free: 106.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008335/8.653, allocations: 0.7659 MB / 3.819 GB, free: 105.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/8.653, allocations: 33.7 kB / 3.819 GB, free: 105.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/8.653, allocations: 388.5 kB / 3.82 GB, free: 105 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.958e-05/8.653, allocations: 137.9 kB / 3.82 GB, free: 104.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/8.653, allocations: 16 kB / 3.82 GB, free: 104.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.473e-05/8.653, allocations: 333.9 kB / 3.82 GB, free: 104.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/8.654, allocations: 169.1 kB / 3.82 GB, free: 104.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/8.654, allocations: 267.4 kB / 3.821 GB, free: 104 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/8.654, allocations: 213.4 kB / 3.821 GB, free: 103.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/8.654, allocations: 0 / 3.821 GB, free: 103.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008083/8.655, allocations: 0.556 MB / 3.821 GB, free: 103.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/8.655, allocations: 7.938 kB / 3.821 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/8.655, allocations: 7.984 kB / 3.821 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/8.655, allocations: 4 kB / 3.821 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/8.656, allocations: 103.8 kB / 3.821 GB, free: 103.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/8.656, allocations: 7.938 kB / 3.821 GB, free: 103.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/8.657, allocations: 111.3 kB / 3.822 GB, free: 103 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.829e-05/8.657, allocations: 23.98 kB / 3.822 GB, free: 103 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0001069/8.657, allocations: 133.5 kB / 3.822 GB, free: 102.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/8.657, allocations: 82.97 kB / 3.822 GB, free: 102.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008064/8.658, allocations: 0.5244 MB / 3.822 GB, free: 102.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/8.658, allocations: 8 kB / 3.822 GB, free: 102.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/8.658, allocations: 128 / 3.822 GB, free: 102.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/8.658, allocations: 7.984 kB / 3.822 GB, free: 102.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/8.66, allocations: 2.045 MB / 3.824 GB, free: 100 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/8.66, allocations: 4 kB / 3.824 GB, free: 100 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/8.661, allocations: 95.83 kB / 3.824 GB, free: 99.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.699e-06/8.661, allocations: 8 kB / 3.824 GB, free: 99.89 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/8.661, allocations: 16 kB / 3.824 GB, free: 99.88 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/8.661, allocations: 11.94 kB / 3.824 GB, free: 99.87 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/8.661, allocations: 8 kB / 3.824 GB, free: 99.86 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/8.662, allocations: 1.258 MB / 3.826 GB, free: 98.34 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/8.662, allocations: 223.9 kB / 3.826 GB, free: 98.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/8.662, allocations: 23.94 kB / 3.826 GB, free: 98.08 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005575/8.663, allocations: 48.02 kB / 3.826 GB, free: 98.03 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.192e-05/8.663, allocations: 51.84 kB / 3.826 GB, free: 97.98 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/8.663, allocations: 24 kB / 3.826 GB, free: 97.96 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006114/8.663, allocations: 0.6085 MB / 3.827 GB, free: 97.35 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/8.663, allocations: 0 / 3.827 GB, free: 97.35 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0014/8.665, allocations: 447.7 kB / 3.827 GB, free: 96.91 MB / 1.167 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.004124/8.669, allocations: 5.531 MB / 3.832 GB, free: 91.07 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0007426/8.67, allocations: 434.9 kB / 3.833 GB, free: 90.64 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/8.67, allocations: 4.062 kB / 3.833 GB, free: 90.64 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/8.67, allocations: 211.6 kB / 3.833 GB, free: 90.43 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/8.673, allocations: 481.9 kB / 3.833 GB, free: 89.97 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/8.676, allocations: 1.387 MB / 3.835 GB, free: 88.45 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/8.676, allocations: 1.021 MB / 3.836 GB, free: 87.41 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007723/8.677, allocations: 183 kB / 3.836 GB, free: 87.22 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/8.677, allocations: 299.3 kB / 3.836 GB, free: 86.93 MB / 1.167 GB Notification: Performance of SimCode: time 8.12e-07/8.677, allocations: 4 kB / 3.836 GB, free: 86.93 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08535/8.763, allocations: 58.91 MB / 3.894 GB, free: 28.26 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/8.763, allocations: 212.6 kB / 3.894 GB, free: 28.02 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.841/12.6, allocations: 0 / 3.894 GB, free: 28.02 MB / 1.167 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