Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.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.OpenDoorTemperature,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",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.346/2.346, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001365/0.001365, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.601/1.601, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009633/0.0009633, allocations: 111.8 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.922e-05/4.97e-05, allocations: 5.812 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3089, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.922/6.231, allocations: 1.923 GB / 3.135 GB, free: 344.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/6.231, allocations: 84.67 kB / 3.136 GB, free: 344.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 1.819/8.05, allocations: 462.3 MB / 3.587 GB, free: 305.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.284e-06/8.05, allocations: 0 / 3.587 GB, free: 305.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.483e-05/8.05, allocations: 25.69 kB / 3.587 GB, free: 305.3 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.00409/8.054, allocations: 1.519 MB / 3.589 GB, free: 304.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/8.055, allocations: 11.16 kB / 3.589 GB, free: 304.6 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001961/8.055, allocations: 146.5 kB / 3.589 GB, free: 304.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006012/8.055, allocations: 155.8 kB / 3.589 GB, free: 304.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/8.057, allocations: 0.6326 MB / 3.589 GB, free: 304.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/8.057, allocations: 70.34 kB / 3.59 GB, free: 304.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/8.057, allocations: 88.64 kB / 3.59 GB, free: 304.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/8.059, allocations: 1.158 MB / 3.591 GB, free: 304.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/8.059, allocations: 7.719 kB / 3.591 GB, free: 304.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/8.059, allocations: 31.94 kB / 3.591 GB, free: 304.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.044e-05/8.059, allocations: 55.02 kB / 3.591 GB, free: 304.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/8.061, allocations: 1.445 MB / 3.592 GB, free: 304.2 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.005205/8.066, allocations: 3.611 MB / 3.596 GB, free: 302.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/8.068, allocations: 1.428 MB / 3.597 GB, free: 302.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008703/8.069, allocations: 0.7044 MB / 3.598 GB, free: 302.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008045/8.07, allocations: 0.9586 MB / 3.599 GB, free: 301.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009516/8.071, allocations: 0.7067 MB / 3.599 GB, free: 301.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=123): time 3.086e-06/8.071, allocations: 0 / 3.599 GB, free: 301.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=123): time 0.002461/8.073, allocations: 1.399 MB / 3.601 GB, free: 301.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/8.073, allocations: 98.3 kB / 3.601 GB, free: 301.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009386/8.074, allocations: 0.7436 MB / 3.602 GB, free: 301.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.847e-05/8.074, allocations: 46.23 kB / 3.602 GB, free: 301.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/8.075, allocations: 368.4 kB / 3.602 GB, free: 301.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/8.075, allocations: 416.4 kB / 3.602 GB, free: 300.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/8.075, allocations: 21.5 kB / 3.602 GB, free: 300.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001116/8.075, allocations: 355.4 kB / 3.603 GB, free: 300.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007099/8.076, allocations: 0.5166 MB / 3.603 GB, free: 300.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008564/8.077, allocations: 0.6618 MB / 3.604 GB, free: 300.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000854/8.078, allocations: 0.6449 MB / 3.605 GB, free: 300.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/8.078, allocations: 0 / 3.605 GB, free: 300.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002161/8.08, allocations: 1.533 MB / 3.606 GB, free: 299.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/8.08, allocations: 39.02 kB / 3.606 GB, free: 299.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/8.08, allocations: 0 / 3.606 GB, free: 299.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/8.08, allocations: 7.812 kB / 3.606 GB, free: 299.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009065/8.081, allocations: 221.4 kB / 3.606 GB, free: 299.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/8.081, allocations: 10.31 kB / 3.606 GB, free: 299.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009226/8.082, allocations: 138 kB / 3.606 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/8.082, allocations: 46.34 kB / 3.607 GB, free: 299.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,$PRE.bouTem.nextEvent,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 1 * 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.0002387/8.082, allocations: 203.6 kB / 3.607 GB, free: 299.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/8.082, allocations: 107.2 kB / 3.607 GB, free: 299.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/8.085, allocations: 1.651 MB / 3.608 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/8.085, allocations: 14.62 kB / 3.608 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/8.085, allocations: 0 / 3.608 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/8.085, allocations: 6.609 kB / 3.608 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004839/8.09, allocations: 3.415 MB / 3.612 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/8.09, allocations: 3.781 kB / 3.612 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000791/8.091, allocations: 206.5 kB / 3.612 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/8.091, allocations: 10.56 kB / 3.612 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.29e-05/8.091, allocations: 37.25 kB / 3.612 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/8.091, allocations: 11.41 kB / 3.612 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/8.091, allocations: 9.062 kB / 3.612 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003356/8.094, allocations: 2.855 MB / 3.615 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006259/8.095, allocations: 352.2 kB / 3.615 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/8.095, allocations: 28.84 kB / 3.615 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/8.096, allocations: 51.19 kB / 3.615 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/8.096, allocations: 92.38 kB / 3.615 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.233e-05/8.096, allocations: 52.92 kB / 3.615 GB, free: 295.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007647/8.097, allocations: 0.5884 MB / 3.616 GB, free: 295.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/8.097, allocations: 0 / 3.616 GB, free: 295.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001691/8.098, allocations: 0.5123 MB / 3.616 GB, free: 295 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 1 * 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.006153/8.105, allocations: 6.432 MB / 3.623 GB, free: 290.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001957/8.107, allocations: 1.314 MB / 3.624 GB, free: 290.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/8.107, allocations: 3.438 kB / 3.624 GB, free: 290.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008237/8.107, allocations: 0.7187 MB / 3.625 GB, free: 290.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/8.11, allocations: 425 kB / 3.625 GB, free: 290.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004185/8.114, allocations: 2.186 MB / 3.627 GB, free: 289.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/8.115, allocations: 1.125 MB / 3.628 GB, free: 288.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001432/8.116, allocations: 437.8 kB / 3.629 GB, free: 288.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/8.117, allocations: 364.1 kB / 3.629 GB, free: 288.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.914e-06/8.117, allocations: 3.5 kB / 3.629 GB, free: 288.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08307/8.2, allocations: 53.95 MB / 3.682 GB, free: 244.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/8.2, allocations: 204.6 kB / 3.682 GB, free: 244.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.983/12.18, allocations: 0 / 3.682 GB, free: 244.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat does not exist to compare? outputFormat=mat