Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.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.OpenDoorTemperature,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",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.447/2.447, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001205/0.001205, allocations: 178.7 kB / 0.4901 GB, free: 2.234 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.582/1.582, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.0009834/0.0009833, allocations: 106.4 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.000404, allocations: 12.39 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3386, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.333/4.672, allocations: 1.924 GB / 3.153 GB, free: 8.324 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/4.672, allocations: 87.58 kB / 3.153 GB, free: 8.277 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 1.493/6.165, allocations: 462.7 MB / 3.605 GB, free: 16.61 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.154e-06/6.165, allocations: 3.938 kB / 3.605 GB, free: 16.61 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.108e-05/6.165, allocations: 23.94 kB / 3.605 GB, free: 16.58 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004428/6.169, allocations: 1.65 MB / 3.607 GB, free: 14.87 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/6.169, allocations: 8.031 kB / 3.607 GB, free: 14.86 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002379/6.17, allocations: 147.7 kB / 3.607 GB, free: 14.71 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006161/6.17, allocations: 150.5 kB / 3.607 GB, free: 14.56 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/6.172, allocations: 0.6484 MB / 3.608 GB, free: 13.88 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/6.172, allocations: 73.98 kB / 3.608 GB, free: 13.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/6.172, allocations: 84 kB / 3.608 GB, free: 13.72 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/6.173, allocations: 1.176 MB / 3.609 GB, free: 12.53 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/6.173, allocations: 3.938 kB / 3.609 GB, free: 12.53 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.284e-05/6.173, allocations: 32 kB / 3.609 GB, free: 12.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-05/6.173, allocations: 49.98 kB / 3.609 GB, free: 12.45 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/6.175, allocations: 1.468 MB / 3.61 GB, free: 10.98 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.004853/6.18, allocations: 3.61 MB / 3.614 GB, free: 7.125 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/6.182, allocations: 1.45 MB / 3.615 GB, free: 5.664 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007428/6.183, allocations: 0.9698 MB / 3.616 GB, free: 4.492 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008926/6.184, allocations: 0.7163 MB / 3.617 GB, free: 3.758 MB / 1.167 GB Notification: Performance of pre-optimization done (n=123): time 4.068e-06/6.184, allocations: 0 / 3.617 GB, free: 3.758 MB / 1.167 GB Notification: Performance of matching and sorting (n=123): time 0.00284/6.186, allocations: 2.016 MB / 3.619 GB, free: 1.711 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/6.187, allocations: 98.09 kB / 3.619 GB, free: 1.598 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008327/6.187, allocations: 0.746 MB / 3.62 GB, free: 0.8477 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/6.187, allocations: 45.7 kB / 3.62 GB, free: 0.7969 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/6.188, allocations: 365.4 kB / 3.62 GB, free: 444 kB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/6.188, allocations: 417.9 kB / 3.621 GB, free: 20 kB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.6509/6.839, allocations: 22.2 kB / 3.621 GB, free: 300.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002368/6.839, allocations: 348.3 kB / 3.621 GB, free: 300.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/6.841, allocations: 0.522 MB / 3.621 GB, free: 300.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/6.842, allocations: 0.669 MB / 3.622 GB, free: 299.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/6.844, allocations: 0.6483 MB / 3.623 GB, free: 299.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.508e-05/6.844, allocations: 1.875 kB / 3.623 GB, free: 299.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004239/6.848, allocations: 1.553 MB / 3.624 GB, free: 299.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.817e-05/6.849, allocations: 38.67 kB / 3.624 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/6.849, allocations: 7.031 kB / 3.624 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.718e-05/6.849, allocations: 10.25 kB / 3.624 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/6.85, allocations: 223.2 kB / 3.625 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.164e-05/6.85, allocations: 7.578 kB / 3.625 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/6.851, allocations: 132.4 kB / 3.625 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/6.851, allocations: 52.27 kB / 3.625 GB, free: 299.8 MB / 1.167 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 () * Number of clocked 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.0008001/6.852, allocations: 371.5 kB / 3.625 GB, free: 299.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00033/6.853, allocations: 111.3 kB / 3.625 GB, free: 299.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/6.856, allocations: 1.664 MB / 3.627 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/6.856, allocations: 12.53 kB / 3.627 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/6.856, allocations: 0 / 3.627 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/6.856, allocations: 5.812 kB / 3.627 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007202/6.864, allocations: 3.432 MB / 3.63 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/6.864, allocations: 6.625 kB / 3.63 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/6.865, allocations: 206 kB / 3.63 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.692e-05/6.865, allocations: 11.19 kB / 3.63 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/6.865, allocations: 35.52 kB / 3.63 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.636e-05/6.865, allocations: 18.66 kB / 3.63 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/6.865, allocations: 9.562 kB / 3.63 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00497/6.87, allocations: 2.874 MB / 3.633 GB, free: 297.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/6.871, allocations: 341.2 kB / 3.634 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003984/6.871, allocations: 33.09 kB / 3.634 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/6.872, allocations: 53.91 kB / 3.634 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/6.873, allocations: 94.56 kB / 3.634 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/6.873, allocations: 48.38 kB / 3.634 GB, free: 297.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001256/6.874, allocations: 0.5989 MB / 3.634 GB, free: 297.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.7e-07/6.874, allocations: 0 / 3.634 GB, free: 297.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002574/6.877, allocations: 0.5096 MB / 3.635 GB, free: 297.7 MB / 1.167 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) * Number of clocked states: 0 () * 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.007726/6.884, allocations: 6.469 MB / 3.641 GB, free: 294.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002545/6.887, allocations: 1.337 MB / 3.642 GB, free: 294.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/6.887, allocations: 0.9688 kB / 3.642 GB, free: 294.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/6.888, allocations: 0.728 MB / 3.643 GB, free: 294.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/6.891, allocations: 416.5 kB / 3.644 GB, free: 294.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/6.905, allocations: 8.706 MB / 3.652 GB, free: 290.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008074/6.905, allocations: 1.129 MB / 3.653 GB, free: 290.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001654/6.907, allocations: 433.3 kB / 3.654 GB, free: 290.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006191/6.908, allocations: 368.9 kB / 3.654 GB, free: 290.2 MB / 1.167 GB Notification: Performance of SimCode: time 7.51e-07/6.908, allocations: 0 / 3.654 GB, free: 290.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09113/6.999, allocations: 49.87 MB / 3.703 GB, free: 289.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/6.999, allocations: 227.6 kB / 3.703 GB, free: 289.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.517/10.52, allocations: 0 / 3.703 GB, free: 289.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat does not exist to compare? outputFormat=mat