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.364/2.364, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001236/0.001235, allocations: 180.8 kB / 487.4 MB, free: 5.035 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.557/1.557, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.0009567/0.0009567, allocations: 103.7 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.876e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2612, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.876/6.138, allocations: 1.922 GB / 3.128 GB, free: 353.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/6.138, allocations: 82.41 kB / 3.128 GB, free: 353.5 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.927/8.065, allocations: 456.3 MB / 3.574 GB, free: 301.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.729e-06/8.065, allocations: 0 / 3.574 GB, free: 301.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.493e-05/8.065, allocations: 25.48 kB / 3.574 GB, free: 301.7 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.005423/8.071, allocations: 1.508 MB / 3.576 GB, free: 301 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.331e-05/8.071, allocations: 12.75 kB / 3.576 GB, free: 301 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008743/8.072, allocations: 164.1 kB / 3.576 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/8.073, allocations: 0.6379 MB / 3.576 GB, free: 300.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.672e-05/8.073, allocations: 29 kB / 3.576 GB, free: 300.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/8.073, allocations: 50.66 kB / 3.576 GB, free: 300.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002274/8.076, allocations: 1.318 MB / 3.578 GB, free: 300.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/8.077, allocations: 1.033 MB / 3.579 GB, free: 300.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/8.078, allocations: 7.5 kB / 3.579 GB, free: 300.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.282e-05/8.078, allocations: 2.938 kB / 3.579 GB, free: 300.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.078e-05/8.078, allocations: 54.2 kB / 3.579 GB, free: 300.6 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.006753/8.084, allocations: 3.38 MB / 3.582 GB, free: 299.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/8.087, allocations: 1.368 MB / 3.583 GB, free: 299.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/8.088, allocations: 0.6717 MB / 3.584 GB, free: 299.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/8.089, allocations: 0.9683 MB / 3.585 GB, free: 298.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/8.091, allocations: 0.6691 MB / 3.586 GB, free: 298.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=123): time 4.558e-06/8.091, allocations: 0 / 3.586 GB, free: 298.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=123): time 0.003849/8.094, allocations: 1.412 MB / 3.587 GB, free: 298 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/8.095, allocations: 99.23 kB / 3.587 GB, free: 297.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/8.096, allocations: 0.5195 MB / 3.588 GB, free: 297.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.739e-05/8.096, allocations: 25.7 kB / 3.588 GB, free: 297.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000482/8.096, allocations: 384.5 kB / 3.588 GB, free: 297.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005089/8.097, allocations: 398.1 kB / 3.588 GB, free: 297.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/8.097, allocations: 0 / 3.588 GB, free: 297.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002415/8.097, allocations: 401 kB / 3.589 GB, free: 297.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009018/8.098, allocations: 0.4885 MB / 3.589 GB, free: 297.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009604/8.099, allocations: 0.6715 MB / 3.59 GB, free: 296.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/8.101, allocations: 0.7209 MB / 3.591 GB, free: 296.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/8.101, allocations: 0 / 3.591 GB, free: 296.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003369/8.104, allocations: 1.534 MB / 3.592 GB, free: 296.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.132e-05/8.104, allocations: 40.3 kB / 3.592 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/8.104, allocations: 2.281 kB / 3.592 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.602e-05/8.104, allocations: 13.59 kB / 3.592 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/8.105, allocations: 225.1 kB / 3.592 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.552e-05/8.105, allocations: 15.19 kB / 3.592 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/8.107, allocations: 91.67 kB / 3.592 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/8.107, allocations: 52.44 kB / 3.593 GB, free: 296.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0003381/8.107, allocations: 165.1 kB / 3.593 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003661/8.111, allocations: 1.413 MB / 3.594 GB, free: 296.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/8.111, allocations: 92.41 kB / 3.594 GB, free: 296.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/8.115, allocations: 1.616 MB / 3.596 GB, free: 296.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/8.115, allocations: 10.34 kB / 3.596 GB, free: 296.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/8.115, allocations: 3.969 kB / 3.596 GB, free: 296.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/8.115, allocations: 6.938 kB / 3.596 GB, free: 296.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006986/8.122, allocations: 3.223 MB / 3.599 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/8.122, allocations: 7.906 kB / 3.599 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009233/8.123, allocations: 204.8 kB / 3.599 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.235e-05/8.123, allocations: 11.19 kB / 3.599 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.842e-05/8.123, allocations: 25.53 kB / 3.599 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.019e-05/8.123, allocations: 11.47 kB / 3.599 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/8.123, allocations: 6.094 kB / 3.599 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004617/8.128, allocations: 2.828 MB / 3.602 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008481/8.129, allocations: 322 kB / 3.602 GB, free: 294.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/8.129, allocations: 17.69 kB / 3.602 GB, free: 294.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008708/8.13, allocations: 37.77 kB / 3.602 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/8.13, allocations: 92.16 kB / 3.602 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/8.13, allocations: 53.05 kB / 3.602 GB, free: 294.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007442/8.131, allocations: 410.1 kB / 3.603 GB, free: 294.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2e-07/8.131, allocations: 0 / 3.603 GB, free: 294.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002168/8.133, allocations: 465.1 kB / 3.603 GB, free: 294.6 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.007911/8.141, allocations: 6.579 MB / 3.61 GB, free: 291.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002122/8.143, allocations: 1.254 MB / 3.611 GB, free: 291.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/8.144, allocations: 0 / 3.611 GB, free: 291.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000877/8.144, allocations: 0.689 MB / 3.612 GB, free: 291.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/8.146, allocations: 224.2 kB / 3.612 GB, free: 291.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/8.15, allocations: 2.048 MB / 3.614 GB, free: 290.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006596/8.151, allocations: 1.136 MB / 3.615 GB, free: 289.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001263/8.152, allocations: 407.2 kB / 3.615 GB, free: 289.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/8.153, allocations: 358 kB / 3.616 GB, free: 289.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.542e-06/8.153, allocations: 0 / 3.616 GB, free: 289.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07641/8.229, allocations: 32.13 MB / 3.647 GB, free: 288.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/8.23, allocations: 174.5 kB / 3.647 GB, free: 288.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.513/11.74, allocations: 0 / 3.647 GB, free: 288.4 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