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.283/2.283, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.00109/0.00109, allocations: 179 kB / 498.1 MB, free: 5.746 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.683/1.683, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.0008703/0.0008704, allocations: 96.31 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003931, allocations: 7.062 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3197, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.667/4.987, allocations: 1.92 GB / 3.143 GB, free: 93.21 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/4.987, allocations: 92.61 kB / 3.143 GB, free: 93.12 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.652/7.64, allocations: 0.6687 GB / 3.812 GB, free: 288.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.473e-06/7.64, allocations: 0 / 3.812 GB, free: 288.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.008e-05/7.64, allocations: 25.25 kB / 3.812 GB, free: 288.7 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.004103/7.644, allocations: 1.48 MB / 3.814 GB, free: 288 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/7.644, allocations: 11.69 kB / 3.814 GB, free: 288 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/7.644, allocations: 129.2 kB / 3.814 GB, free: 288 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006294/7.645, allocations: 148.9 kB / 3.814 GB, free: 287.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009837/7.646, allocations: 0.5693 MB / 3.815 GB, free: 287.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/7.646, allocations: 59.17 kB / 3.815 GB, free: 287.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/7.646, allocations: 77.81 kB / 3.815 GB, free: 287.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/7.647, allocations: 0.8241 MB / 3.815 GB, free: 287.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/7.647, allocations: 0 / 3.815 GB, free: 287.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.441e-05/7.647, allocations: 31.25 kB / 3.815 GB, free: 287.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.693e-05/7.647, allocations: 47.06 kB / 3.816 GB, free: 287.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/7.648, allocations: 0.7266 MB / 3.816 GB, free: 287.6 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005005/7.653, allocations: 4.581 MB / 3.821 GB, free: 284.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009713/7.654, allocations: 468 kB / 3.821 GB, free: 284.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000635/7.655, allocations: 0.7634 MB / 3.822 GB, free: 283.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/7.655, allocations: 42.48 kB / 3.822 GB, free: 283.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=40): time 2.425e-06/7.655, allocations: 0 / 3.822 GB, free: 283.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=40): time 0.001239/7.656, allocations: 0.6156 MB / 3.823 GB, free: 283.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/7.656, allocations: 54.47 kB / 3.823 GB, free: 283.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009073/7.657, allocations: 0.7772 MB / 3.823 GB, free: 283.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/7.657, allocations: 39.55 kB / 3.823 GB, free: 283.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/7.658, allocations: 392.4 kB / 3.824 GB, free: 283 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.842e-05/7.658, allocations: 139.8 kB / 3.824 GB, free: 282.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/7.658, allocations: 11.53 kB / 3.824 GB, free: 282.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/7.658, allocations: 328.6 kB / 3.824 GB, free: 282.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/7.658, allocations: 187.5 kB / 3.824 GB, free: 282.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/7.659, allocations: 283.5 kB / 3.825 GB, free: 282.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/7.659, allocations: 223.4 kB / 3.825 GB, free: 282.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/7.659, allocations: 3.875 kB / 3.825 GB, free: 282.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008649/7.66, allocations: 0.5862 MB / 3.825 GB, free: 282.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/7.66, allocations: 10.94 kB / 3.825 GB, free: 282.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/7.66, allocations: 0 / 3.825 GB, free: 282.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/7.66, allocations: 6.625 kB / 3.825 GB, free: 282.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/7.66, allocations: 103 kB / 3.826 GB, free: 282.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/7.66, allocations: 7.469 kB / 3.826 GB, free: 282.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007562/7.661, allocations: 109.7 kB / 3.826 GB, free: 282.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/7.661, allocations: 27.77 kB / 3.826 GB, free: 282.4 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 () * Number of clocked 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.0003024/7.661, allocations: 248.5 kB / 3.826 GB, free: 282.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/7.662, allocations: 80.12 kB / 3.826 GB, free: 282.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008374/7.662, allocations: 0.5616 MB / 3.827 GB, free: 282.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/7.662, allocations: 6.875 kB / 3.827 GB, free: 282.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/7.662, allocations: 0 / 3.827 GB, free: 282.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/7.662, allocations: 3.375 kB / 3.827 GB, free: 282.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002676/7.665, allocations: 2.071 MB / 3.829 GB, free: 281.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/7.665, allocations: 7.562 kB / 3.829 GB, free: 281.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/7.666, allocations: 94.81 kB / 3.829 GB, free: 281.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/7.666, allocations: 10.31 kB / 3.829 GB, free: 281.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/7.666, allocations: 15.22 kB / 3.829 GB, free: 281.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/7.666, allocations: 13.61 kB / 3.829 GB, free: 281.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/7.666, allocations: 11.66 kB / 3.829 GB, free: 281.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/7.667, allocations: 1.301 MB / 3.83 GB, free: 280.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/7.667, allocations: 229.8 kB / 3.83 GB, free: 280.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/7.667, allocations: 22.14 kB / 3.83 GB, free: 280.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005818/7.668, allocations: 54.84 kB / 3.83 GB, free: 280.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/7.668, allocations: 45.34 kB / 3.83 GB, free: 280.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/7.668, allocations: 22.5 kB / 3.83 GB, free: 280.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006236/7.669, allocations: 0.6239 MB / 3.831 GB, free: 280.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.41e-07/7.669, allocations: 0 / 3.831 GB, free: 280.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001374/7.67, allocations: 450.8 kB / 3.831 GB, free: 280.4 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 () * Number of clocked 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.004264/7.674, allocations: 5.566 MB / 3.837 GB, free: 276.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0007311/7.675, allocations: 450.3 kB / 3.837 GB, free: 276.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/7.675, allocations: 0 / 3.837 GB, free: 276.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003378/7.675, allocations: 237.2 kB / 3.838 GB, free: 276.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/7.677, allocations: 486.6 kB / 3.838 GB, free: 276.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005817/7.683, allocations: 6.064 MB / 3.844 GB, free: 273.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/7.683, allocations: 1.025 MB / 3.845 GB, free: 273.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007265/7.684, allocations: 182.2 kB / 3.845 GB, free: 273.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/7.685, allocations: 292.4 kB / 3.845 GB, free: 273.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.012e-06/7.685, allocations: 0 / 3.845 GB, free: 273.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07331/7.758, allocations: 53.66 MB / 3.898 GB, free: 234.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/7.758, allocations: 235.6 kB / 3.898 GB, free: 234.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.567/11.33, allocations: 4 kB / 3.898 GB, free: 234.4 MB / 1.167 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