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.362/2.362, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001092/0.001092, allocations: 184.8 kB / 487.4 MB, free: 5.055 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.715/1.715, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000885/0.0008851, allocations: 103.6 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.615e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3581, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.485/6.843, allocations: 1.92 GB / 3.126 GB, free: 354.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/6.843, allocations: 92.83 kB / 3.126 GB, free: 354.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.044/8.887, allocations: 0.6598 GB / 3.786 GB, free: 166.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.104e-06/8.887, allocations: 8 kB / 3.786 GB, free: 166.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.428e-05/8.887, allocations: 16 kB / 3.786 GB, free: 166.5 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.003553/8.891, allocations: 1.357 MB / 3.787 GB, free: 165.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/8.891, allocations: 12.03 kB / 3.787 GB, free: 165.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000637/8.891, allocations: 146.7 kB / 3.787 GB, free: 164.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007974/8.892, allocations: 0.5589 MB / 3.788 GB, free: 164.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/8.892, allocations: 24 kB / 3.788 GB, free: 164.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/8.892, allocations: 40 kB / 3.788 GB, free: 164.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007891/8.893, allocations: 0.5642 MB / 3.788 GB, free: 163.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009528/8.894, allocations: 0.7113 MB / 3.789 GB, free: 163 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/8.894, allocations: 0 / 3.789 GB, free: 163 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.297e-05/8.894, allocations: 0 / 3.789 GB, free: 163 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.387e-05/8.894, allocations: 45.98 kB / 3.789 GB, free: 162.9 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.00381/8.898, allocations: 4.367 MB / 3.793 GB, free: 158 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007651/8.899, allocations: 427.5 kB / 3.794 GB, free: 157.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/8.899, allocations: 161.5 kB / 3.794 GB, free: 157.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004962/8.899, allocations: 0.7638 MB / 3.795 GB, free: 156.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/8.899, allocations: 42.84 kB / 3.795 GB, free: 156.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 2.415e-06/8.899, allocations: 3.938 kB / 3.795 GB, free: 156.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.0008531/8.9, allocations: 387.1 kB / 3.795 GB, free: 156.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/8.9, allocations: 55.41 kB / 3.795 GB, free: 156 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/8.901, allocations: 494.1 kB / 3.796 GB, free: 155.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/8.901, allocations: 25.7 kB / 3.796 GB, free: 155.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/8.901, allocations: 411.2 kB / 3.796 GB, free: 155.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.026e-05/8.901, allocations: 130 kB / 3.796 GB, free: 154.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/8.901, allocations: 4 kB / 3.796 GB, free: 154.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.654e-05/8.901, allocations: 366.8 kB / 3.796 GB, free: 154.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/8.901, allocations: 165 kB / 3.797 GB, free: 154.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/8.902, allocations: 298 kB / 3.797 GB, free: 154.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/8.902, allocations: 211.5 kB / 3.797 GB, free: 153.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/8.902, allocations: 4 kB / 3.797 GB, free: 153.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006857/8.903, allocations: 0.5083 MB / 3.798 GB, free: 153.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/8.903, allocations: 14.3 kB / 3.798 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/8.903, allocations: 4 kB / 3.798 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/8.903, allocations: 8 kB / 3.798 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/8.903, allocations: 103.8 kB / 3.798 GB, free: 153.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/8.903, allocations: 11.94 kB / 3.798 GB, free: 153.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006682/8.904, allocations: 75.53 kB / 3.798 GB, free: 153.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/8.904, allocations: 24 kB / 3.798 GB, free: 153.1 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.0001024/8.904, allocations: 112.9 kB / 3.798 GB, free: 153 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004709/8.905, allocations: 381.5 kB / 3.798 GB, free: 152.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/8.905, allocations: 59.3 kB / 3.798 GB, free: 152.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006834/8.905, allocations: 474.9 kB / 3.799 GB, free: 152.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/8.905, allocations: 7.938 kB / 3.799 GB, free: 152.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/8.905, allocations: 12.12 kB / 3.799 GB, free: 152 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/8.905, allocations: 0 / 3.799 GB, free: 152 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/8.908, allocations: 1.812 MB / 3.801 GB, free: 150.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/8.908, allocations: 8 kB / 3.801 GB, free: 150.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/8.908, allocations: 87.84 kB / 3.801 GB, free: 150 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/8.908, allocations: 12 kB / 3.801 GB, free: 150 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/8.908, allocations: 11.98 kB / 3.801 GB, free: 150 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/8.908, allocations: 11.94 kB / 3.801 GB, free: 149.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/8.908, allocations: 11.94 kB / 3.801 GB, free: 149.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009555/8.909, allocations: 1.18 MB / 3.802 GB, free: 148.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/8.91, allocations: 192.2 kB / 3.802 GB, free: 148.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.162e-05/8.91, allocations: 8 kB / 3.802 GB, free: 148.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005414/8.91, allocations: 51.86 kB / 3.802 GB, free: 148.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/8.91, allocations: 59.73 kB / 3.802 GB, free: 148.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/8.91, allocations: 20 kB / 3.802 GB, free: 148.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000367/8.911, allocations: 386.9 kB / 3.803 GB, free: 147.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.4e-07/8.911, allocations: 7.938 kB / 3.803 GB, free: 147.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001275/8.912, allocations: 395.3 kB / 3.803 GB, free: 147.4 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.00411/8.916, allocations: 5.699 MB / 3.809 GB, free: 141.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006471/8.917, allocations: 390.6 kB / 3.809 GB, free: 141 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/8.917, allocations: 0 / 3.809 GB, free: 141 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002524/8.917, allocations: 202 kB / 3.809 GB, free: 140.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/8.918, allocations: 230.5 kB / 3.809 GB, free: 140.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/8.921, allocations: 1.292 MB / 3.811 GB, free: 139.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/8.921, allocations: 1.027 MB / 3.812 GB, free: 138.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005959/8.922, allocations: 144.7 kB / 3.812 GB, free: 137.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/8.922, allocations: 283.3 kB / 3.812 GB, free: 137.7 MB / 1.151 GB Notification: Performance of SimCode: time 8.21e-07/8.922, allocations: 0 / 3.812 GB, free: 137.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05697/8.979, allocations: 30.41 MB / 3.842 GB, free: 107.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/8.979, allocations: 173.1 kB / 3.842 GB, free: 107.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/12.06, allocations: 4 kB / 3.842 GB, free: 107.2 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