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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008116/0.0008116, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009071/0.0009072, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.2 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.495/2.495, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.000406, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8278/0.8283, allocations: 142.3 MB / 0.9538 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001248/0.8296, allocations: 0.985 MB / 0.9548 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003046/0.8299, allocations: 106 kB / 0.9549 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.8299, allocations: 0 / 0.9549 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.301e-05/0.8299, allocations: 0 / 0.9549 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.774e-05/0.83, allocations: 5.359 kB / 0.9549 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.8302, allocations: 31.08 kB / 0.9549 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.487e-05/0.8303, allocations: 13.56 kB / 0.955 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.8303, allocations: 2.094 kB / 0.955 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.371e-05/0.8303, allocations: 6.688 kB / 0.955 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.8304, allocations: 6.484 kB / 0.955 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.8304, allocations: 5.156 kB / 0.955 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.8305, allocations: 44.48 kB / 0.955 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.417e-06/0.8306, allocations: 7.984 kB / 0.955 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.8306, allocations: 31.42 kB / 0.9551 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.267e-05/0.8307, allocations: 25.61 kB / 0.9551 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.8307, allocations: 1.719 kB / 0.9551 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8307, allocations: 3.938 kB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.8307, allocations: 0 / 0.9551 GB, free: 7.062 MB / 0.7169 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.000302/0.831, allocations: 333.3 kB / 0.9554 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.8311, allocations: 9.562 kB / 0.9554 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.8311, allocations: 30.56 kB / 0.9554 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.049e-05/0.8311, allocations: 9.078 kB / 0.9554 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.614e-05/0.8312, allocations: 168.2 kB / 0.9556 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.8313, allocations: 1.375 kB / 0.9556 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-06/0.8313, allocations: 1.375 kB / 0.9556 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.534e-05/0.8314, allocations: 32.34 kB / 0.9556 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.8314, allocations: 0 / 0.9556 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.8314, allocations: 1.406 kB / 0.9556 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8314, allocations: 0 / 0.9556 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.476e-05/0.8314, allocations: 14.7 kB / 0.9557 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.8316, allocations: 153.8 kB / 0.9558 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.944e-05/0.8316, allocations: 24.61 kB / 0.9558 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.8317, allocations: 6.141 kB / 0.9558 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006199/0.8323, allocations: 0.6144 MB / 0.9564 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.8323, allocations: 30.56 kB / 0.9565 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.8323, allocations: 4 kB / 0.9565 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001912/0.8325, allocations: 39.33 kB / 0.9565 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.8326, allocations: 57.06 kB / 0.9566 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.583e-05/0.8326, allocations: 105.1 kB / 0.9567 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.8326, allocations: 25.7 kB / 0.9567 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.746e-05/0.8327, allocations: 81.17 kB / 0.9568 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.8327, allocations: 9.219 kB / 0.9568 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.8327, allocations: 0 / 0.9568 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.8328, allocations: 320 kB / 0.9571 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.8328, allocations: 6.172 kB / 0.9571 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-06/0.8328, allocations: 2.562 kB / 0.9571 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.797e-05/0.8328, allocations: 1.844 kB / 0.9571 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.8328, allocations: 0 / 0.9571 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.503e-05/0.8329, allocations: 42.83 kB / 0.9571 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.8329, allocations: 4.594 kB / 0.9571 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.8329, allocations: 1.062 kB / 0.9571 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.8329, allocations: 0 / 0.9571 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.295e-05/0.833, allocations: 11.3 kB / 0.9571 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.833, allocations: 3.984 kB / 0.9571 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.773e-05/0.833, allocations: 1.094 kB / 0.9571 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.833, allocations: 4.922 kB / 0.9572 GB, free: 4.73 MB / 0.7169 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 5.823e-05/0.8331, allocations: 106.8 kB / 0.9573 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-06/0.8331, allocations: 5.875 kB / 0.9573 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.266e-05/0.8332, allocations: 48.88 kB / 0.9573 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8332, allocations: 1.281 kB / 0.9573 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.8332, allocations: 4.031 kB / 0.9573 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.8332, allocations: 3.938 kB / 0.9573 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.846e-05/0.8333, allocations: 157.1 kB / 0.9575 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.8333, allocations: 0 / 0.9575 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.8333, allocations: 3.656 kB / 0.9575 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8333, allocations: 0 / 0.9575 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.8334, allocations: 1.125 kB / 0.9575 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.8334, allocations: 0 / 0.9575 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.8334, allocations: 1.188 kB / 0.9575 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.692e-05/0.8334, allocations: 70.27 kB / 0.9575 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.8335, allocations: 78.52 kB / 0.9576 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.8335, allocations: 0 / 0.9576 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.602e-05/0.8335, allocations: 1.312 kB / 0.9576 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.8335, allocations: 8 kB / 0.9576 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.8335, allocations: 1.438 kB / 0.9576 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.205e-05/0.8336, allocations: 82.11 kB / 0.9577 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8336, allocations: 0 / 0.9577 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000207/0.8338, allocations: 16.03 kB / 0.9577 GB, free: 4.098 MB / 0.7169 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.0002953/0.8341, allocations: 0.6187 MB / 0.9583 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.796e-05/0.8342, allocations: 10.72 kB / 0.9583 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.8342, allocations: 1.219 kB / 0.9583 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.296e-05/0.8342, allocations: 16.3 kB / 0.9583 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.8344, allocations: 3.656 kB / 0.9583 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.8349, allocations: 345.8 kB / 0.9587 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.8351, allocations: 0.6766 MB / 0.9593 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.785e-05/0.8351, allocations: 6.5 kB / 0.9593 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.8351, allocations: 8.625 kB / 0.9594 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8351, allocations: 0 / 0.9594 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/0.8472, allocations: 1.227 MB / 0.9606 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.8474, allocations: 197.1 kB / 0.9607 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.508, allocations: 1.125 kB / 0.9607 GB, free: 1.594 MB / 0.7169 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