Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.405/2.405, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001019/0.001019, allocations: 179.9 kB / 0.4901 GB, free: 2.242 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.462/1.462, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0008543/0.0008543, allocations: 100.1 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004062, allocations: 7.906 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2711, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.4481, allocations: 149.8 MB / 1.376 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.4484, allocations: 71.95 kB / 1.376 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00218/0.4505, allocations: 0.8635 MB / 1.377 GB, free: 2.699 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4506, allocations: 0 / 1.377 GB, free: 2.699 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4506, allocations: 0 / 1.377 GB, free: 2.699 MB / 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.0003076/0.4509, allocations: 327.4 kB / 1.377 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.4509, allocations: 16.5 kB / 1.377 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.451, allocations: 30.56 kB / 1.377 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.053e-05/0.451, allocations: 0 / 1.377 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4512, allocations: 174.9 kB / 1.377 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.4512, allocations: 4 kB / 1.377 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.4512, allocations: 4 kB / 1.377 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.804e-05/0.4513, allocations: 29.7 kB / 1.377 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.4513, allocations: 0 / 1.377 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.4513, allocations: 0 / 1.377 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4513, allocations: 0 / 1.377 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.196e-05/0.4513, allocations: 11.92 kB / 1.377 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.4515, allocations: 161.6 kB / 1.377 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.077e-05/0.4515, allocations: 23.45 kB / 1.377 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006262/0.4522, allocations: 0.6013 MB / 1.378 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.4522, allocations: 30.56 kB / 1.378 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4522, allocations: 0 / 1.378 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.000132/0.4524, allocations: 45.62 kB / 1.378 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.4524, allocations: 51.53 kB / 1.378 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.854e-05/0.4525, allocations: 93 kB / 1.378 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.4525, allocations: 25.7 kB / 1.378 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.4525, allocations: 88.12 kB / 1.378 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.4526, allocations: 11.84 kB / 1.378 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.4526, allocations: 0 / 1.378 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4527, allocations: 314.8 kB / 1.378 GB, free: 352 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.4527, allocations: 4 kB / 1.378 GB, free: 348 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-06/0.4527, allocations: 0 / 1.378 GB, free: 348 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.607e-05/0.4527, allocations: 8.062 kB / 1.378 GB, free: 340 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4527, allocations: 0 / 1.378 GB, free: 340 kB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.608e-05/0.4528, allocations: 45.62 kB / 1.379 GB, free: 288 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.4528, allocations: 4 kB / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.4528, allocations: 0 / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.4529, allocations: 4 kB / 1.379 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.674e-05/0.4529, allocations: 0 / 1.379 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4529, allocations: 0 / 1.379 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.4529, allocations: 4 kB / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.453, allocations: 4.156 kB / 1.379 GB, free: 272 kB / 0.8698 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.008e-05/0.453, allocations: 117.8 kB / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-06/0.453, allocations: 0 / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.668e-05/0.4531, allocations: 52.8 kB / 1.379 GB, free: 88 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.4531, allocations: 3.938 kB / 1.379 GB, free: 84 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.4532, allocations: 0 / 1.379 GB, free: 84 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4532, allocations: 0 / 1.379 GB, free: 84 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.4533, allocations: 153.6 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4533, allocations: 0 / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.4533, allocations: 12.03 kB / 1.379 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4533, allocations: 0 / 1.379 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.4533, allocations: 0 / 1.379 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4533, allocations: 0 / 1.379 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4533, allocations: 3.984 kB / 1.379 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.962e-05/0.4534, allocations: 61.05 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.4535, allocations: 85.06 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.4535, allocations: 4 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.857e-05/0.4535, allocations: 8.016 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.4535, allocations: 0 / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.4535, allocations: 4 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.038e-05/0.4536, allocations: 75.28 kB / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4536, allocations: 3.938 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002051/0.4538, allocations: 16 kB / 1.379 GB, free: 15.58 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.0003827/0.4542, allocations: 0.6288 MB / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.217e-05/0.4543, allocations: 8 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4543, allocations: 0 / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.268e-05/0.4543, allocations: 11.88 kB / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.4545, allocations: 4 kB / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.455, allocations: 354.2 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.4552, allocations: 0.677 MB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.553e-05/0.4552, allocations: 3.984 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.4553, allocations: 15.42 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of SimCode: time 2.11e-07/0.4553, allocations: 4.062 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.4674, allocations: 1.192 MB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/0.4677, allocations: 194.5 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.075, allocations: 0 / 1.382 GB, free: 12.48 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat does not exist to compare? outputFormat=mat