Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.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.OpenDoorPressure,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",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.317/2.317, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.00114/0.00114, allocations: 176.9 kB / 496.1 MB, free: 12.86 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.783/1.783, allocations: 221.3 MB / 0.7915 GB, free: 5.426 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.0009659/0.0009659, allocations: 91.95 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.463e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2888, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.07/6.359, allocations: 1.924 GB / 3.143 GB, free: 390.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/6.359, allocations: 79.95 kB / 3.143 GB, free: 390.4 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.809/8.168, allocations: 462.3 MB / 3.594 GB, free: 305.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.823e-06/8.168, allocations: 2.25 kB / 3.594 GB, free: 305.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001445/8.168, allocations: 23.03 kB / 3.594 GB, free: 305.7 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.006753/8.175, allocations: 1.511 MB / 3.596 GB, free: 305.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/8.175, allocations: 7.844 kB / 3.596 GB, free: 305.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006687/8.176, allocations: 151.2 kB / 3.596 GB, free: 305 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/8.177, allocations: 169.3 kB / 3.596 GB, free: 304.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/8.179, allocations: 0.6341 MB / 3.597 GB, free: 304.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.492e-05/8.179, allocations: 67.31 kB / 3.597 GB, free: 304.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003483/8.179, allocations: 86.66 kB / 3.597 GB, free: 304.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002555/8.182, allocations: 1.166 MB / 3.598 GB, free: 304.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/8.182, allocations: 0 / 3.598 GB, free: 304.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/8.182, allocations: 39.06 kB / 3.598 GB, free: 304.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.37e-05/8.182, allocations: 46.28 kB / 3.598 GB, free: 304.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/8.185, allocations: 1.442 MB / 3.599 GB, free: 304.6 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.006461/8.192, allocations: 3.33 MB / 3.603 GB, free: 303.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/8.194, allocations: 1.495 MB / 3.604 GB, free: 303.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/8.195, allocations: 0.7359 MB / 3.605 GB, free: 303.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/8.197, allocations: 1.536 MB / 3.606 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/8.198, allocations: 0.7334 MB / 3.607 GB, free: 301.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=127): time 5.641e-06/8.198, allocations: 0 / 3.607 GB, free: 301.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=127): time 0.003018/8.201, allocations: 1.442 MB / 3.608 GB, free: 301.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/8.201, allocations: 93.67 kB / 3.609 GB, free: 301.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/8.202, allocations: 0.6837 MB / 3.609 GB, free: 301.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/8.202, allocations: 54.98 kB / 3.609 GB, free: 301.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/8.203, allocations: 357.8 kB / 3.61 GB, free: 301.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004637/8.203, allocations: 424.1 kB / 3.61 GB, free: 300.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/8.203, allocations: 25.81 kB / 3.61 GB, free: 300.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002193/8.204, allocations: 404.3 kB / 3.61 GB, free: 300.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008387/8.204, allocations: 0.5208 MB / 3.611 GB, free: 300.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009393/8.205, allocations: 0.639 MB / 3.612 GB, free: 300.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/8.206, allocations: 0.6526 MB / 3.612 GB, free: 300.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/8.207, allocations: 0 / 3.612 GB, free: 300.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.0027/8.209, allocations: 1.521 MB / 3.614 GB, free: 300.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.248e-05/8.209, allocations: 33.05 kB / 3.614 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/8.209, allocations: 0 / 3.614 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.976e-05/8.209, allocations: 11.17 kB / 3.614 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009264/8.21, allocations: 223.9 kB / 3.614 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.123e-05/8.21, allocations: 7.219 kB / 3.614 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/8.211, allocations: 128.5 kB / 3.614 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/8.212, allocations: 50.75 kB / 3.614 GB, free: 300.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.0002974/8.212, allocations: 199.3 kB / 3.614 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/8.212, allocations: 101.4 kB / 3.614 GB, free: 300.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/8.215, allocations: 1.686 MB / 3.616 GB, free: 300 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/8.215, allocations: 14.12 kB / 3.616 GB, free: 300 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/8.215, allocations: 6.031 kB / 3.616 GB, free: 300 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/8.215, allocations: 11.62 kB / 3.616 GB, free: 300 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006223/8.221, allocations: 3.84 MB / 3.62 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/8.221, allocations: 7.719 kB / 3.62 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008611/8.222, allocations: 208.8 kB / 3.62 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-05/8.222, allocations: 13.91 kB / 3.62 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/8.223, allocations: 45.67 kB / 3.62 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.608e-05/8.223, allocations: 13.19 kB / 3.62 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/8.223, allocations: 13.48 kB / 3.62 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004074/8.227, allocations: 3.003 MB / 3.623 GB, free: 298.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/8.228, allocations: 344.6 kB / 3.623 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/8.228, allocations: 32.81 kB / 3.623 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/8.229, allocations: 63.59 kB / 3.623 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/8.23, allocations: 103.6 kB / 3.624 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/8.23, allocations: 57.81 kB / 3.624 GB, free: 298 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001102/8.231, allocations: 0.5422 MB / 3.624 GB, free: 297.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/8.231, allocations: 3.062 kB / 3.624 GB, free: 297.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002973/8.234, allocations: 0.5202 MB / 3.625 GB, free: 297.9 MB / 1.167 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.01077/8.245, allocations: 6.929 MB / 3.631 GB, free: 294.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002654/8.247, allocations: 1.341 MB / 3.633 GB, free: 294 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/8.247, allocations: 0 / 3.633 GB, free: 294 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/8.249, allocations: 0.7419 MB / 3.633 GB, free: 293.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/8.251, allocations: 403.1 kB / 3.634 GB, free: 293.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006551/8.258, allocations: 2.23 MB / 3.636 GB, free: 293.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009255/8.259, allocations: 1.123 MB / 3.637 GB, free: 292.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001472/8.26, allocations: 432.5 kB / 3.638 GB, free: 292.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006423/8.261, allocations: 366.6 kB / 3.638 GB, free: 292.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.092e-06/8.261, allocations: 0 / 3.638 GB, free: 292.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/8.362, allocations: 52.89 MB / 3.69 GB, free: 279.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/8.363, allocations: 214.6 kB / 3.69 GB, free: 279.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.19/12.55, allocations: 0 / 3.69 GB, free: 279.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorPressure.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat does not exist to compare? outputFormat=mat