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.247/2.247, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.001271/0.001271, allocations: 172.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.624/1.624, allocations: 221.3 MB / 0.7915 GB, free: 5.352 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.0009188/0.0009187, allocations: 103.3 kB / 0.9318 GB, free: 5.645 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.814e-05/4.851e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3042, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.244/6.548, allocations: 1.924 GB / 3.143 GB, free: 332.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/6.548, allocations: 83.77 kB / 3.143 GB, free: 332.8 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.831/8.38, allocations: 462.3 MB / 3.594 GB, free: 312.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.373e-06/8.38, allocations: 3.5 kB / 3.594 GB, free: 312.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.959e-05/8.38, allocations: 22.91 kB / 3.594 GB, free: 312.3 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.005348/8.385, allocations: 1.507 MB / 3.596 GB, free: 311.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/8.385, allocations: 8.656 kB / 3.596 GB, free: 311.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005029/8.386, allocations: 147.4 kB / 3.596 GB, free: 311.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/8.387, allocations: 167.1 kB / 3.596 GB, free: 311.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/8.389, allocations: 0.6295 MB / 3.597 GB, free: 311 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/8.389, allocations: 67.94 kB / 3.597 GB, free: 311 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/8.389, allocations: 83.97 kB / 3.597 GB, free: 311 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/8.391, allocations: 1.168 MB / 3.598 GB, free: 310.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/8.391, allocations: 3.938 kB / 3.598 GB, free: 310.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/8.392, allocations: 39.09 kB / 3.598 GB, free: 310.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.82e-05/8.392, allocations: 50.02 kB / 3.598 GB, free: 310.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/8.394, allocations: 1.441 MB / 3.599 GB, free: 310.1 MB / 1.167 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.005967/8.4, allocations: 3.609 MB / 3.603 GB, free: 308 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/8.402, allocations: 1.434 MB / 3.604 GB, free: 307.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009414/8.403, allocations: 0.7009 MB / 3.605 GB, free: 307.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008879/8.404, allocations: 0.9605 MB / 3.606 GB, free: 306.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/8.405, allocations: 0.7033 MB / 3.607 GB, free: 305.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=123): time 3.406e-06/8.405, allocations: 0 / 3.607 GB, free: 305.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=123): time 0.00251/8.407, allocations: 1.408 MB / 3.608 GB, free: 305.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/8.407, allocations: 94.52 kB / 3.608 GB, free: 305.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/8.409, allocations: 0.7504 MB / 3.609 GB, free: 305 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.043e-05/8.409, allocations: 51.52 kB / 3.609 GB, free: 305 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/8.409, allocations: 366.2 kB / 3.609 GB, free: 304.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/8.409, allocations: 414.2 kB / 3.61 GB, free: 304.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/8.409, allocations: 21.25 kB / 3.61 GB, free: 304.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.937e-05/8.41, allocations: 354.5 kB / 3.61 GB, free: 304 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007515/8.41, allocations: 0.5113 MB / 3.61 GB, free: 303.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008935/8.411, allocations: 0.665 MB / 3.611 GB, free: 303.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009289/8.412, allocations: 0.641 MB / 3.612 GB, free: 303.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/8.412, allocations: 0 / 3.612 GB, free: 303.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00236/8.415, allocations: 1.532 MB / 3.613 GB, free: 302.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/8.415, allocations: 40.16 kB / 3.613 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/8.415, allocations: 4.031 kB / 3.613 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/8.415, allocations: 11.34 kB / 3.613 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009115/8.416, allocations: 225 kB / 3.614 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-05/8.416, allocations: 7.719 kB / 3.614 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/8.417, allocations: 132.1 kB / 3.614 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/8.417, allocations: 52.92 kB / 3.614 GB, free: 302.7 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 () * 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.0002625/8.417, allocations: 206.8 kB / 3.614 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/8.417, allocations: 110.8 kB / 3.614 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/8.42, allocations: 1.643 MB / 3.616 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/8.42, allocations: 11.34 kB / 3.616 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/8.42, allocations: 0 / 3.616 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/8.42, allocations: 13.53 kB / 3.616 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005494/8.426, allocations: 3.408 MB / 3.619 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/8.426, allocations: 7.906 kB / 3.619 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008417/8.427, allocations: 202.2 kB / 3.619 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.173e-05/8.427, allocations: 13.88 kB / 3.619 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.466e-05/8.427, allocations: 34.38 kB / 3.619 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-05/8.427, allocations: 15.67 kB / 3.619 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/8.427, allocations: 20.44 kB / 3.619 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003456/8.43, allocations: 2.841 MB / 3.622 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008651/8.431, allocations: 348.8 kB / 3.622 GB, free: 298.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003272/8.432, allocations: 35.17 kB / 3.622 GB, free: 298.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009367/8.433, allocations: 54.3 kB / 3.622 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/8.433, allocations: 90.48 kB / 3.623 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.69e-05/8.433, allocations: 55.7 kB / 3.623 GB, free: 298.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009199/8.434, allocations: 0.5881 MB / 3.623 GB, free: 297.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.61e-07/8.434, allocations: 2.969 kB / 3.623 GB, free: 297.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002032/8.436, allocations: 0.5098 MB / 3.624 GB, free: 297.6 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) * 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.0064/8.442, allocations: 6.424 MB / 3.63 GB, free: 293.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002062/8.444, allocations: 1.317 MB / 3.631 GB, free: 292.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/8.444, allocations: 0 / 3.631 GB, free: 292.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009526/8.445, allocations: 0.7233 MB / 3.632 GB, free: 292.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/8.448, allocations: 422.6 kB / 3.632 GB, free: 292.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005972/8.454, allocations: 2.189 MB / 3.634 GB, free: 290.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000907/8.455, allocations: 1.124 MB / 3.636 GB, free: 289.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001689/8.457, allocations: 436.9 kB / 3.636 GB, free: 289.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/8.457, allocations: 371.6 kB / 3.636 GB, free: 289.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.353e-06/8.457, allocations: 0 / 3.636 GB, free: 289.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/8.57, allocations: 53.96 MB / 3.689 GB, free: 239.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/8.57, allocations: 205.9 kB / 3.689 GB, free: 239.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.055/12.62, allocations: 1.688 kB / 3.689 GB, free: 239.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