Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001175/0.001175, allocations: 177.8 kB / 498.1 MB, free: 5.746 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.454/1.454, allocations: 223.1 MB / 0.7948 GB, free: 17.95 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.0008717/0.0008716, allocations: 102.3 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003886, allocations: 13.78 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2764, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.4525, allocations: 149 MB / 1.368 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4529, allocations: 79.89 kB / 1.369 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002248/0.4551, allocations: 0.8474 MB / 1.369 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4551, allocations: 4 kB / 1.369 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.4552, allocations: 4 kB / 1.369 GB, free: 12.01 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.0002924/0.4554, allocations: 335.3 kB / 1.37 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4555, allocations: 8.031 kB / 1.37 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.4555, allocations: 34.5 kB / 1.37 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.4556, allocations: 4 kB / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.4557, allocations: 167 kB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.4557, allocations: 3.984 kB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-06/0.4557, allocations: 0 / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.201e-05/0.4558, allocations: 41.7 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4558, allocations: 0 / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.4558, allocations: 0 / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.4558, allocations: 0 / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.938e-05/0.4559, allocations: 4 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.456, allocations: 157.6 kB / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.869e-05/0.4561, allocations: 29.34 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005918/0.4567, allocations: 0.6052 MB / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.4567, allocations: 30.56 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4567, allocations: 0 / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001283/0.4569, allocations: 41.69 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.4569, allocations: 51.41 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/0.457, allocations: 100.9 kB / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.457, allocations: 25.7 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.457, allocations: 80.27 kB / 1.371 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.4571, allocations: 7.906 kB / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.4571, allocations: 0 / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4572, allocations: 326.8 kB / 1.371 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.969e-06/0.4572, allocations: 3.938 kB / 1.371 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-06/0.4572, allocations: 4 kB / 1.371 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.442e-05/0.4572, allocations: 0 / 1.371 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4572, allocations: 0 / 1.371 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.108e-05/0.4573, allocations: 41.7 kB / 1.371 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.4573, allocations: 8.094 kB / 1.371 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4574, allocations: 0 / 1.371 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4574, allocations: 3.984 kB / 1.371 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.996e-05/0.4574, allocations: 4 kB / 1.371 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.4574, allocations: 0 / 1.371 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/0.4575, allocations: 0 / 1.371 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.4575, allocations: 0 / 1.371 GB, free: 9.578 MB / 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 6.532e-05/0.4575, allocations: 113.8 kB / 1.372 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-06/0.4576, allocations: 0 / 1.372 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.004e-05/0.4576, allocations: 56.66 kB / 1.372 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.4577, allocations: 0 / 1.372 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4577, allocations: 0 / 1.372 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4577, allocations: 0 / 1.372 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.157e-05/0.4578, allocations: 161.6 kB / 1.372 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4578, allocations: 3.938 kB / 1.372 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.4578, allocations: 4 kB / 1.372 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4578, allocations: 0 / 1.372 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.4578, allocations: 0 / 1.372 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4578, allocations: 4 kB / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4578, allocations: 4.031 kB / 1.372 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.176e-05/0.4579, allocations: 65.06 kB / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.458, allocations: 81.06 kB / 1.372 GB, free: 8.992 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.458, allocations: 0 / 1.372 GB, free: 8.992 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.727e-05/0.458, allocations: 4 kB / 1.372 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.458, allocations: 0 / 1.372 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.458, allocations: 3.938 kB / 1.372 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.4581, allocations: 91.3 kB / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4581, allocations: 0 / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000193/0.4583, allocations: 16 kB / 1.372 GB, free: 8.879 MB / 0.8698 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.0003714/0.4587, allocations: 0.6238 MB / 1.373 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.483e-05/0.4587, allocations: 16.02 kB / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4588, allocations: 0 / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.201e-05/0.4588, allocations: 4 kB / 1.373 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.4589, allocations: 4 kB / 1.373 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.4594, allocations: 356.6 kB / 1.373 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.4597, allocations: 0.6771 MB / 1.374 GB, free: 7.098 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.034e-05/0.4597, allocations: 4 kB / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.173e-05/0.4597, allocations: 7.438 kB / 1.374 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/0.4597, allocations: 0 / 1.374 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01054/0.4703, allocations: 1.205 MB / 1.375 GB, free: 6.012 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.4705, allocations: 188 kB / 1.375 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/1.953, allocations: 0 / 1.375 GB, free: 5.773 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat does not exist to compare? outputFormat=mat