Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",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.516/2.516, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001361/0.001361, allocations: 176 kB / 0.4901 GB, free: 2.238 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.527/1.527, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0008899/0.0008899, allocations: 100.1 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 7 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2552, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/0.4296, allocations: 151.3 MB / 1.377 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.4299, allocations: 87.94 kB / 1.377 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00764/0.4376, allocations: 2.05 MB / 1.379 GB, free: 52 kB / 0.8698 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4376, allocations: 4 kB / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.4376, allocations: 4 kB / 1.379 GB, free: 44 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003213/0.438, allocations: 339.4 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.438, allocations: 8.031 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.4381, allocations: 38.5 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.4381, allocations: 7.891 kB / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.994e-05/0.4382, allocations: 159.1 kB / 1.38 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.4382, allocations: 0 / 1.38 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.4382, allocations: 3.938 kB / 1.38 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.613e-05/0.4383, allocations: 39.36 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4383, allocations: 3.984 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.4384, allocations: 0 / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.4384, allocations: 0 / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.086e-05/0.4384, allocations: 11.98 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.4386, allocations: 149.6 kB / 1.38 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.535e-05/0.4386, allocations: 30.53 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003532/0.439, allocations: 409.6 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.439, allocations: 34.56 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.439, allocations: 0 / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001441/0.4392, allocations: 41.61 kB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.4392, allocations: 51.41 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.571e-05/0.4393, allocations: 96.92 kB / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.4393, allocations: 29.95 kB / 1.38 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.4393, allocations: 84.14 kB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.4394, allocations: 0 / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.4394, allocations: 0 / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4395, allocations: 314.8 kB / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.4395, allocations: 4 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-06/0.4395, allocations: 0 / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2e-05/0.4396, allocations: 8 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4396, allocations: 64 / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.81e-05/0.4396, allocations: 45.59 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4397, allocations: 4 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4397, allocations: 0 / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4397, allocations: 4 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.9e-05/0.4397, allocations: 0 / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4398, allocations: 0 / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.738e-05/0.4398, allocations: 7.938 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.4398, allocations: 3.938 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.72e-05/0.4399, allocations: 118.6 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.4399, allocations: 3.984 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.844e-05/0.44, allocations: 40.83 kB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.44, allocations: 4 kB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.44, allocations: 4 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.44, allocations: 0 / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.791e-05/0.4401, allocations: 157.6 kB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4401, allocations: 0 / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.4401, allocations: 0 / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4402, allocations: 0 / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.4402, allocations: 8.031 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4402, allocations: 3.938 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4402, allocations: 0 / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.763e-05/0.4403, allocations: 65.06 kB / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.4403, allocations: 81.06 kB / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.4403, allocations: 4 kB / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.318e-05/0.4404, allocations: 4 kB / 1.381 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.4404, allocations: 4.016 kB / 1.381 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.4404, allocations: 4 kB / 1.381 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.003e-05/0.4404, allocations: 79.28 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4404, allocations: 0 / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002351/0.4407, allocations: 20 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004741/0.4411, allocations: 0.6398 MB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.626e-05/0.4412, allocations: 11.98 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4412, allocations: 0 / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.4412, allocations: 4 kB / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.835e-05/0.4414, allocations: 2.375 kB / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003825/0.4417, allocations: 142.2 kB / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.442, allocations: 0.6849 MB / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.442, allocations: 3.906 kB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.442, allocations: 7.438 kB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of SimCode: time 4.11e-07/0.442, allocations: 0 / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.4536, allocations: 1.267 MB / 1.384 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.4538, allocations: 201 kB / 1.384 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.451/1.904, allocations: 0 / 1.384 GB, free: 10.23 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.mat does not exist to compare? outputFormat=mat