Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",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.444/2.444, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.0011/0.001101, allocations: 192.7 kB / 487.4 MB, free: 5.051 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.533/1.533, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 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.0008648/0.0008648, allocations: 104.8 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.468e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2663, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8605/1.127, allocations: 150.8 MB / 1.353 GB, free: 18.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/1.127, allocations: 83.73 kB / 1.353 GB, free: 18.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01546/1.143, allocations: 5.281 MB / 1.359 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.894e-06/1.143, allocations: 4 kB / 1.359 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.421e-05/1.143, allocations: 3.844 kB / 1.359 GB, free: 33.52 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005827/1.143, allocations: 455.9 kB / 1.359 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/1.143, allocations: 11.53 kB / 1.359 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/1.143, allocations: 15.5 kB / 1.359 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/1.144, allocations: 436.8 kB / 1.359 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/1.144, allocations: 0 / 1.359 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/1.144, allocations: 9.297 kB / 1.359 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.168e-05/1.144, allocations: 47.66 kB / 1.359 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.257e-05/1.144, allocations: 57.14 kB / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/1.144, allocations: 0 / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/1.144, allocations: 0 / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.144, allocations: 3.844 kB / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/1.144, allocations: 275.3 kB / 1.36 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/1.144, allocations: 94.25 kB / 1.36 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/1.145, allocations: 38.41 kB / 1.36 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.803e-05/1.145, allocations: 14.75 kB / 1.36 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.08e-05/1.145, allocations: 30.56 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/1.145, allocations: 0 / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001792/1.145, allocations: 94.91 kB / 1.36 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/1.145, allocations: 52.95 kB / 1.36 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/1.145, allocations: 441.6 kB / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/1.145, allocations: 33.58 kB / 1.361 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/1.145, allocations: 123.7 kB / 1.361 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/1.145, allocations: 11.22 kB / 1.361 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/1.145, allocations: 3.844 kB / 1.361 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.145, allocations: 328.4 kB / 1.361 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.784e-05/1.146, allocations: 25.2 kB / 1.361 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.082e-05/1.146, allocations: 50.47 kB / 1.361 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.551e-05/1.146, allocations: 29.67 kB / 1.361 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/1.146, allocations: 0 / 1.361 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000142/1.146, allocations: 107.2 kB / 1.361 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/1.146, allocations: 3.844 kB / 1.361 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/1.146, allocations: 0 / 1.361 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/1.146, allocations: 1.312 kB / 1.361 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.361e-05/1.146, allocations: 15.52 kB / 1.361 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/1.146, allocations: 3.969 kB / 1.361 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/1.146, allocations: 14.66 kB / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/1.146, allocations: 3.969 kB / 1.361 GB, free: 31.86 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.009e-05/1.146, allocations: 105.9 kB / 1.361 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001421/1.146, allocations: 106.7 kB / 1.361 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/1.146, allocations: 15.5 kB / 1.361 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/1.147, allocations: 130 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/1.147, allocations: 3.844 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/1.147, allocations: 0 / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/1.147, allocations: 4 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/1.147, allocations: 208.3 kB / 1.362 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.147, allocations: 7.891 kB / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.756e-05/1.147, allocations: 18.55 kB / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/1.147, allocations: 0 / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/1.147, allocations: 3.938 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.147, allocations: 0 / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.147, allocations: 1.969 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/1.147, allocations: 131.6 kB / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/1.147, allocations: 132.4 kB / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/1.147, allocations: 0 / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/1.147, allocations: 10.55 kB / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/1.147, allocations: 7.031 kB / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/1.147, allocations: 3.844 kB / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002912/1.148, allocations: 362.1 kB / 1.362 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.148, allocations: 0 / 1.362 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003713/1.148, allocations: 99.36 kB / 1.363 GB, free: 31.2 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005956/1.149, allocations: 0.7229 MB / 1.363 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.743e-05/1.149, allocations: 49.62 kB / 1.363 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.149, allocations: 0 / 1.363 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.162e-05/1.149, allocations: 28.97 kB / 1.363 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/1.149, allocations: 15.34 kB / 1.363 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/1.149, allocations: 287.7 kB / 1.364 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/1.15, allocations: 0.7275 MB / 1.364 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001725/1.15, allocations: 65.66 kB / 1.364 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/1.15, allocations: 67.67 kB / 1.364 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.15, allocations: 0 / 1.364 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/1.172, allocations: 4.311 MB / 1.369 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/1.172, allocations: 164.5 kB / 1.369 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.915, allocations: 0 / 1.369 GB, free: 29.2 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat does not exist to compare? outputFormat=mat