Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.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.OpenDoorPressure,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",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.27/2.27, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001089/0.001089, allocations: 192.6 kB / 487.4 MB, free: 5.027 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.559/1.559, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 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.0009803/0.0009803, allocations: 103 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.117e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3196, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.041/7.36, allocations: 1.922 GB / 3.128 GB, free: 351 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/7.361, allocations: 82.45 kB / 3.128 GB, free: 351 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.74/9.101, allocations: 456.3 MB / 3.574 GB, free: 304.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.355e-06/9.101, allocations: 0 / 3.574 GB, free: 304.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.269e-05/9.101, allocations: 23.38 kB / 3.574 GB, free: 304.4 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.004159/9.106, allocations: 1.508 MB / 3.576 GB, free: 303.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/9.106, allocations: 14.89 kB / 3.576 GB, free: 303.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006271/9.106, allocations: 154.5 kB / 3.576 GB, free: 303.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/9.107, allocations: 0.6398 MB / 3.576 GB, free: 303.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/9.107, allocations: 34.5 kB / 3.576 GB, free: 303.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/9.108, allocations: 50.84 kB / 3.576 GB, free: 303.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001967/9.11, allocations: 1.317 MB / 3.578 GB, free: 303.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/9.111, allocations: 1.045 MB / 3.579 GB, free: 303.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/9.111, allocations: 3.906 kB / 3.579 GB, free: 303.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.862e-05/9.111, allocations: 0 / 3.579 GB, free: 303.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.459e-05/9.111, allocations: 46.95 kB / 3.579 GB, free: 303.4 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.004388/9.116, allocations: 3.121 MB / 3.582 GB, free: 302.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/9.118, allocations: 1.412 MB / 3.583 GB, free: 302.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008681/9.118, allocations: 0.6979 MB / 3.584 GB, free: 302.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/9.12, allocations: 1.539 MB / 3.585 GB, free: 300.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009553/9.121, allocations: 0.7027 MB / 3.586 GB, free: 300.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=127): time 3.216e-06/9.121, allocations: 0 / 3.586 GB, free: 300.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=127): time 0.002982/9.124, allocations: 1.45 MB / 3.588 GB, free: 300.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/9.124, allocations: 95.64 kB / 3.588 GB, free: 300.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005861/9.124, allocations: 499.2 kB / 3.588 GB, free: 300.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.69e-05/9.124, allocations: 25.7 kB / 3.588 GB, free: 300.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/9.125, allocations: 374.8 kB / 3.588 GB, free: 300 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/9.125, allocations: 412.4 kB / 3.589 GB, free: 299.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/9.125, allocations: 0 / 3.589 GB, free: 299.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001491/9.125, allocations: 399.3 kB / 3.589 GB, free: 299.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00069/9.126, allocations: 0.4951 MB / 3.59 GB, free: 299.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007505/9.127, allocations: 0.6482 MB / 3.59 GB, free: 299.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/9.128, allocations: 0.716 MB / 3.591 GB, free: 299.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/9.128, allocations: 0 / 3.591 GB, free: 299.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002625/9.131, allocations: 1.53 MB / 3.593 GB, free: 299.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.608e-05/9.131, allocations: 44.14 kB / 3.593 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/9.131, allocations: 0 / 3.593 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.723e-05/9.131, allocations: 14.72 kB / 3.593 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009095/9.132, allocations: 227.6 kB / 3.593 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/9.132, allocations: 7.875 kB / 3.593 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000861/9.133, allocations: 93.38 kB / 3.593 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/9.133, allocations: 52.88 kB / 3.593 GB, free: 299.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,$PRE.bouPre.nextEvent,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * 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.0002363/9.133, allocations: 167.1 kB / 3.593 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002544/9.136, allocations: 1.437 MB / 3.595 GB, free: 298.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/9.136, allocations: 98.7 kB / 3.595 GB, free: 298.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003265/9.139, allocations: 1.659 MB / 3.596 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/9.139, allocations: 11.81 kB / 3.596 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/9.139, allocations: 0 / 3.596 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/9.139, allocations: 7.266 kB / 3.596 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006166/9.145, allocations: 3.573 MB / 3.6 GB, free: 298 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/9.145, allocations: 10.77 kB / 3.6 GB, free: 298 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000929/9.146, allocations: 208.8 kB / 3.6 GB, free: 298 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.436e-05/9.146, allocations: 17.31 kB / 3.6 GB, free: 298 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-05/9.146, allocations: 24.94 kB / 3.6 GB, free: 298 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.767e-05/9.147, allocations: 13.55 kB / 3.6 GB, free: 298 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.68e-05/9.147, allocations: 14.22 kB / 3.6 GB, free: 298 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00461/9.151, allocations: 2.987 MB / 3.603 GB, free: 297.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006943/9.152, allocations: 328.6 kB / 3.603 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/9.152, allocations: 15.55 kB / 3.603 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007/9.153, allocations: 40.81 kB / 3.603 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/9.153, allocations: 101.4 kB / 3.603 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/9.153, allocations: 60.33 kB / 3.603 GB, free: 296.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005557/9.154, allocations: 397.9 kB / 3.604 GB, free: 296.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/9.154, allocations: 0 / 3.604 GB, free: 296.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001852/9.155, allocations: 455.4 kB / 3.604 GB, free: 296.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * 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.008342/9.164, allocations: 7.1 MB / 3.611 GB, free: 293 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002257/9.166, allocations: 1.269 MB / 3.612 GB, free: 292.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/9.166, allocations: 3.875 kB / 3.612 GB, free: 292.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009148/9.167, allocations: 0.706 MB / 3.613 GB, free: 292.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/9.169, allocations: 227.3 kB / 3.613 GB, free: 292.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/9.174, allocations: 2.088 MB / 3.615 GB, free: 292.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007896/9.175, allocations: 1.129 MB / 3.617 GB, free: 291.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001328/9.176, allocations: 407.2 kB / 3.617 GB, free: 291.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005701/9.177, allocations: 358.6 kB / 3.617 GB, free: 291.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.873e-06/9.177, allocations: 0 / 3.617 GB, free: 291.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07443/9.251, allocations: 32.21 MB / 3.649 GB, free: 288.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002906/9.252, allocations: 171.5 kB / 3.649 GB, free: 288 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.286/12.54, allocations: 2.844 kB / 3.649 GB, free: 288 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorPressure.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat does not exist to compare? outputFormat=mat