Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 387.1 MB / 399.7 MB, free: 9.539 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.001101/0.001101, allocations: 176.7 kB / 492.3 MB, free: 0.6289 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.66/1.66, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.001015/0.001015, allocations: 105.7 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.597e-05/4.599e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3431, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.197/6.54, allocations: 1.92 GB / 3.133 GB, free: 345.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/6.54, allocations: 86.61 kB / 3.133 GB, free: 345.8 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.226/8.766, allocations: 0.6682 GB / 3.801 GB, free: 121.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.164e-06/8.766, allocations: 3.984 kB / 3.801 GB, free: 121.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.97e-05/8.766, allocations: 16 kB / 3.801 GB, free: 121.6 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.004284/8.77, allocations: 1.368 MB / 3.803 GB, free: 120.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/8.77, allocations: 8.031 kB / 3.803 GB, free: 120.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003077/8.771, allocations: 122.5 kB / 3.803 GB, free: 120 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008633/8.771, allocations: 150.7 kB / 3.803 GB, free: 119.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/8.773, allocations: 0.5512 MB / 3.803 GB, free: 119.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/8.773, allocations: 65.98 kB / 3.803 GB, free: 119.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/8.773, allocations: 69.38 kB / 3.803 GB, free: 119.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/8.774, allocations: 0.8011 MB / 3.804 GB, free: 118.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/8.774, allocations: 0 / 3.804 GB, free: 118.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.538e-05/8.774, allocations: 28 kB / 3.804 GB, free: 118.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.205e-05/8.775, allocations: 49.92 kB / 3.804 GB, free: 118.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/8.776, allocations: 0.6872 MB / 3.805 GB, free: 117.6 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.004948/8.781, allocations: 4.585 MB / 3.809 GB, free: 112.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008917/8.781, allocations: 460.9 kB / 3.81 GB, free: 112 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/8.782, allocations: 173.5 kB / 3.81 GB, free: 111.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005096/8.782, allocations: 0.7639 MB / 3.811 GB, free: 110.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/8.782, allocations: 38.88 kB / 3.811 GB, free: 110.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 3.135e-06/8.782, allocations: 0 / 3.811 GB, free: 110.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.0009705/8.783, allocations: 446.4 kB / 3.811 GB, free: 110.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/8.783, allocations: 59.34 kB / 3.811 GB, free: 110.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009645/8.784, allocations: 0.7697 MB / 3.812 GB, free: 109.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/8.784, allocations: 33.7 kB / 3.812 GB, free: 109.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/8.785, allocations: 388.4 kB / 3.812 GB, free: 109.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.779e-05/8.785, allocations: 137.9 kB / 3.813 GB, free: 109 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/8.785, allocations: 12 kB / 3.813 GB, free: 109 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.384e-05/8.785, allocations: 326 kB / 3.813 GB, free: 108.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/8.785, allocations: 169.1 kB / 3.813 GB, free: 108.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/8.785, allocations: 275.4 kB / 3.813 GB, free: 108.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/8.786, allocations: 209.4 kB / 3.814 GB, free: 108 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/8.786, allocations: 0 / 3.814 GB, free: 108 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008549/8.787, allocations: 0.556 MB / 3.814 GB, free: 107.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/8.787, allocations: 11.98 kB / 3.814 GB, free: 107.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/8.787, allocations: 0 / 3.814 GB, free: 107.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/8.787, allocations: 8 kB / 3.814 GB, free: 107.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/8.787, allocations: 108 kB / 3.814 GB, free: 107.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/8.787, allocations: 4 kB / 3.814 GB, free: 107.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000835/8.788, allocations: 107.1 kB / 3.814 GB, free: 107.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/8.788, allocations: 23.98 kB / 3.814 GB, free: 107.1 MB / 1.151 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.0001034/8.788, allocations: 132.8 kB / 3.814 GB, free: 107 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/8.788, allocations: 82.92 kB / 3.815 GB, free: 106.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008346/8.789, allocations: 0.536 MB / 3.815 GB, free: 106.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/8.789, allocations: 4 kB / 3.815 GB, free: 106.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/8.789, allocations: 3.938 kB / 3.815 GB, free: 106.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/8.789, allocations: 7.984 kB / 3.815 GB, free: 106.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/8.792, allocations: 2.041 MB / 3.817 GB, free: 104.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/8.792, allocations: 12 kB / 3.817 GB, free: 104.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/8.793, allocations: 91.83 kB / 3.817 GB, free: 104.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/8.793, allocations: 12.66 kB / 3.817 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/8.793, allocations: 16 kB / 3.817 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/8.793, allocations: 19.92 kB / 3.817 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/8.793, allocations: 8 kB / 3.817 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/8.794, allocations: 1.245 MB / 3.818 GB, free: 102.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/8.794, allocations: 219.9 kB / 3.819 GB, free: 102.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/8.794, allocations: 19.98 kB / 3.819 GB, free: 102.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007343/8.795, allocations: 52.02 kB / 3.819 GB, free: 102.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.706e-05/8.795, allocations: 59.73 kB / 3.819 GB, free: 102.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/8.795, allocations: 20 kB / 3.819 GB, free: 102.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006878/8.796, allocations: 0.6085 MB / 3.819 GB, free: 101.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/8.796, allocations: 4 kB / 3.819 GB, free: 101.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001665/8.798, allocations: 447.7 kB / 3.82 GB, free: 101.1 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.004731/8.802, allocations: 5.527 MB / 3.825 GB, free: 95.22 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007289/8.803, allocations: 430.5 kB / 3.826 GB, free: 94.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/8.803, allocations: 0 / 3.826 GB, free: 94.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003092/8.804, allocations: 213.5 kB / 3.826 GB, free: 94.59 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/8.806, allocations: 482.5 kB / 3.826 GB, free: 94.13 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/8.809, allocations: 1.396 MB / 3.828 GB, free: 92.61 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/8.81, allocations: 1.021 MB / 3.829 GB, free: 91.56 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008484/8.81, allocations: 183 kB / 3.829 GB, free: 91.38 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/8.811, allocations: 295.3 kB / 3.829 GB, free: 91.09 MB / 1.151 GB Notification: Performance of SimCode: time 1.072e-06/8.811, allocations: 0 / 3.829 GB, free: 91.09 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08344/8.894, allocations: 58.92 MB / 3.887 GB, free: 32.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/8.894, allocations: 191.3 kB / 3.887 GB, free: 32.18 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.965/12.86, allocations: 0 / 3.887 GB, free: 32.18 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat does not exist to compare? outputFormat=mat