Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",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.331/2.331, 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.001448/0.001448, allocations: 176.3 kB / 496.1 MB, free: 12.89 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.51/1.51, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.0009427/0.0009428, allocations: 99.45 kB / 0.9318 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.428e-05/4.465e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3287, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.368/6.697, allocations: 1.938 GB / 3.157 GB, free: 320.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/6.698, allocations: 81.89 kB / 3.157 GB, free: 320.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 3.993/10.69, allocations: 1.041 GB / 4.198 GB, free: 159.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.458e-06/10.69, allocations: 4 kB / 4.198 GB, free: 159.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003615/10.69, allocations: 58.17 kB / 4.198 GB, free: 159.8 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01136/10.7, allocations: 2.63 MB / 4.201 GB, free: 157.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.49e-05/10.7, allocations: 12.03 kB / 4.201 GB, free: 157.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001714/10.7, allocations: 286.3 kB / 4.201 GB, free: 156.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005804/10.71, allocations: 0.6604 MB / 4.202 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005766/10.72, allocations: 1.616 MB / 4.203 GB, free: 154.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/10.72, allocations: 147.8 kB / 4.203 GB, free: 154.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00109/10.72, allocations: 192 kB / 4.204 GB, free: 154.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007219/10.72, allocations: 2.289 MB / 4.206 GB, free: 151.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-05/10.72, allocations: 3.906 kB / 4.206 GB, free: 151.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004769/10.73, allocations: 83.95 kB / 4.206 GB, free: 151.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/10.73, allocations: 92.27 kB / 4.206 GB, free: 151.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004852/10.73, allocations: 2.449 MB / 4.208 GB, free: 149.2 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.01573/10.75, allocations: 8.04 MB / 4.216 GB, free: 140.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003263/10.75, allocations: 2.26 MB / 4.219 GB, free: 138.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/10.75, allocations: 1.312 MB / 4.22 GB, free: 137.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/10.75, allocations: 1.556 MB / 4.221 GB, free: 135.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.108e-05/10.75, allocations: 64.44 kB / 4.221 GB, free: 135.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=222): time 4.408e-06/10.75, allocations: 0 / 4.221 GB, free: 135.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=226): time 0.01296/10.77, allocations: 5.801 MB / 4.227 GB, free: 129.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.748e-05/10.77, allocations: 158.6 kB / 4.227 GB, free: 129.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/10.77, allocations: 1.041 MB / 4.228 GB, free: 128 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001905/10.77, allocations: 69.7 kB / 4.228 GB, free: 127.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005595/10.77, allocations: 0.7686 MB / 4.229 GB, free: 127.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006784/10.77, allocations: 0.7584 MB / 4.23 GB, free: 126.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/10.77, allocations: 40 kB / 4.23 GB, free: 126.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001622/10.77, allocations: 383.9 kB / 4.23 GB, free: 126 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/10.77, allocations: 0.8395 MB / 4.231 GB, free: 125.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/10.77, allocations: 1.097 MB / 4.232 GB, free: 124 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouA.dynBal.medium.p = bouA.dynBal.p_start (bou.p = bouA.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouADis.dynBal.medium.p = bouADis.dynBal.p_start (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.05729/10.83, allocations: 9.646 MB / 4.241 GB, free: 114.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/10.83, allocations: 3.953 kB / 4.242 GB, free: 114.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005063/10.83, allocations: 2.352 MB / 4.244 GB, free: 111.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/10.83, allocations: 9.875 kB / 4.244 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/10.83, allocations: 7.938 kB / 4.244 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.682e-05/10.83, allocations: 12 kB / 4.244 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/10.84, allocations: 427.4 kB / 4.244 GB, free: 111.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.784e-05/10.84, allocations: 16.34 kB / 4.244 GB, free: 111.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/10.84, allocations: 187.5 kB / 4.244 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000344/10.84, allocations: 75.98 kB / 4.245 GB, free: 111.2 MB / 1.167 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: bouA.dynBal.medium.p = bouA.dynBal.p_start bouADis.dynBal.medium.p = bouADis.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * 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.0005344/10.84, allocations: 216.5 kB / 4.245 GB, free: 111 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006998/10.84, allocations: 205.6 kB / 4.245 GB, free: 110.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004531/10.85, allocations: 2.482 MB / 4.247 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/10.85, allocations: 27.75 kB / 4.247 GB, free: 108.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/10.85, allocations: 0 / 4.247 GB, free: 108.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002813/10.85, allocations: 2.053 MB / 4.249 GB, free: 106.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009889/10.86, allocations: 5.309 MB / 4.255 GB, free: 100.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/10.86, allocations: 8 kB / 4.255 GB, free: 100.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/10.86, allocations: 468.1 kB / 4.255 GB, free: 100.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.307e-05/10.86, allocations: 16 kB / 4.255 GB, free: 100.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/10.86, allocations: 59.98 kB / 4.255 GB, free: 100.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-05/10.86, allocations: 12.06 kB / 4.255 GB, free: 100.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/10.86, allocations: 15.94 kB / 4.255 GB, free: 100.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005439/10.87, allocations: 4.384 MB / 4.259 GB, free: 95.48 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/10.87, allocations: 0.4907 MB / 4.26 GB, free: 94.97 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000608/10.87, allocations: 55.98 kB / 4.26 GB, free: 94.92 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002457/10.87, allocations: 147.6 kB / 4.26 GB, free: 94.77 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/10.87, allocations: 149.6 kB / 4.26 GB, free: 94.62 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/10.87, allocations: 75.98 kB / 4.26 GB, free: 94.55 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001475/10.87, allocations: 0.8145 MB / 4.261 GB, free: 93.73 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/10.87, allocations: 0 / 4.261 GB, free: 93.73 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00392/10.88, allocations: 0.9412 MB / 4.262 GB, free: 92.79 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (bouADis.dynBal.medium.Xi[1],bouADis.dynBal.U,bouBDis.dynBal.medium.Xi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouA.dynBal.medium.Xi[1],bouA.dynBal.U,bouB.dynBal.medium.Xi[1],bouB.dynBal.U,bouB.dynBal.m,dooDis.mExcBA,dooDis.mExcAB) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * 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.01011/10.89, allocations: 9.191 MB / 4.271 GB, free: 83.18 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003607/10.89, allocations: 2.137 MB / 4.273 GB, free: 81.04 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.645e-05/10.89, allocations: 4 kB / 4.273 GB, free: 81.04 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001702/10.89, allocations: 1.145 MB / 4.274 GB, free: 79.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006761/10.9, allocations: 1.099 MB / 4.275 GB, free: 78.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/10.91, allocations: 4.687 MB / 4.28 GB, free: 73.97 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/10.92, allocations: 1.694 MB / 4.281 GB, free: 72.25 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003461/10.92, allocations: 0.7548 MB / 4.282 GB, free: 71.49 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/10.92, allocations: 0.8273 MB / 4.283 GB, free: 70.66 MB / 1.167 GB Notification: Performance of SimCode: time 1.473e-06/10.92, allocations: 0 / 4.283 GB, free: 70.66 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.051/11.97, allocations: 98.13 MB / 4.379 GB, free: 210.5 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/11.97, allocations: 209.5 kB / 4.379 GB, free: 210.3 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.728/17.7, allocations: 0 / 4.379 GB, free: 210.3 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat does not exist to compare? outputFormat=mat