Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.001154/0.001154, allocations: 91.61 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.001914/0.001914, 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.536/1.536, allocations: 223.3 MB / 240 MB, free: 5.426 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.505/2.505, allocations: 390.4 MB / 0.6655 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003614, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6778/0.6782, allocations: 142.3 MB / 0.9539 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001035/0.6793, allocations: 1.003 MB / 0.9548 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004335/0.6797, allocations: 276.3 kB / 0.9551 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.6798, allocations: 4 kB / 0.9551 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.6798, allocations: 3.938 kB / 0.9551 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.634e-05/0.6799, allocations: 6.516 kB / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.6801, allocations: 52.17 kB / 0.9552 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.46e-05/0.6802, allocations: 31.61 kB / 0.9552 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.6802, allocations: 2.344 kB / 0.9552 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.488e-05/0.6803, allocations: 32.78 kB / 0.9552 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.181e-05/0.6804, allocations: 8.516 kB / 0.9552 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.6804, allocations: 5.031 kB / 0.9552 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.6805, allocations: 79.02 kB / 0.9553 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.806e-06/0.6805, allocations: 5.359 kB / 0.9553 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.822e-05/0.6806, allocations: 36.83 kB / 0.9554 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.908e-05/0.6807, allocations: 49.25 kB / 0.9554 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6807, allocations: 0 / 0.9554 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.053e-06/0.6807, allocations: 0 / 0.9554 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.6807, allocations: 0.9062 kB / 0.9554 GB, free: 6.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002806/0.681, allocations: 339.5 kB / 0.9557 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.681, allocations: 8.781 kB / 0.9557 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.002e-05/0.6811, allocations: 39.38 kB / 0.9558 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.6811, allocations: 14.09 kB / 0.9558 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.752e-05/0.6812, allocations: 173 kB / 0.956 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.6812, allocations: 0.8125 kB / 0.956 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.6812, allocations: 1.938 kB / 0.956 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.682e-05/0.6813, allocations: 39.11 kB / 0.956 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.6813, allocations: 0 / 0.956 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.6813, allocations: 5.531 kB / 0.956 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.6813, allocations: 0 / 0.956 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.677e-05/0.6814, allocations: 10.52 kB / 0.956 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.6815, allocations: 154.7 kB / 0.9562 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.341e-05/0.6816, allocations: 43.16 kB / 0.9562 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.6816, allocations: 12.39 kB / 0.9562 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000779/0.6824, allocations: 1.188 MB / 0.9574 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.6824, allocations: 32.88 kB / 0.9574 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.6824, allocations: 3.938 kB / 0.9574 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000135/0.6826, allocations: 52.41 kB / 0.9575 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.813e-05/0.6826, allocations: 51.41 kB / 0.9575 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.469e-05/0.6827, allocations: 118.8 kB / 0.9576 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.6827, allocations: 25.7 kB / 0.9576 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.617e-05/0.6827, allocations: 85.11 kB / 0.9577 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.6827, allocations: 12.95 kB / 0.9577 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.6827, allocations: 1.125 kB / 0.9577 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.901e-05/0.6828, allocations: 310.8 kB / 0.958 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.6828, allocations: 3.594 kB / 0.958 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.6828, allocations: 7.125 kB / 0.958 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.826e-05/0.6828, allocations: 3.156 kB / 0.958 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.6828, allocations: 0 / 0.958 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.952e-05/0.6829, allocations: 45.84 kB / 0.9581 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.6829, allocations: 5.188 kB / 0.9581 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.6829, allocations: 8 kB / 0.9581 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.6829, allocations: 0.875 kB / 0.9581 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.866e-05/0.683, allocations: 9.297 kB / 0.9581 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.683, allocations: 3.938 kB / 0.9581 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.683, allocations: 5.375 kB / 0.9581 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.683, allocations: 3.953 kB / 0.9581 GB, free: 3.852 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 (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 4.288e-05/0.6831, allocations: 108.4 kB / 0.9582 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.6831, allocations: 5.344 kB / 0.9582 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.6832, allocations: 60.44 kB / 0.9583 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.6832, allocations: 1.062 kB / 0.9583 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6832, allocations: 3.984 kB / 0.9583 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.6832, allocations: 384 / 0.9583 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.356e-05/0.6833, allocations: 168.2 kB / 0.9585 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.6833, allocations: 0 / 0.9585 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.6833, allocations: 4.688 kB / 0.9585 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.6833, allocations: 1.125 kB / 0.9585 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.6834, allocations: 8.922 kB / 0.9585 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6834, allocations: 3.938 kB / 0.9585 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6834, allocations: 1.094 kB / 0.9585 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.716e-05/0.6834, allocations: 73.98 kB / 0.9585 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.6835, allocations: 88.44 kB / 0.9586 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.6835, allocations: 0.9062 kB / 0.9586 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.62e-05/0.6835, allocations: 1.125 kB / 0.9586 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.6836, allocations: 5.156 kB / 0.9586 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.6836, allocations: 1.188 kB / 0.9586 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.456e-05/0.6836, allocations: 88.92 kB / 0.9587 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6836, allocations: 1.094 kB / 0.9587 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002086/0.6838, allocations: 28.38 kB / 0.9587 GB, free: 3.18 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 (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.0002798/0.6841, allocations: 0.6348 MB / 0.9594 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.57e-05/0.6842, allocations: 17.86 kB / 0.9594 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6842, allocations: 0 / 0.9594 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.525e-05/0.6842, allocations: 7 kB / 0.9594 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.6844, allocations: 7.109 kB / 0.9594 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.6847, allocations: 189.3 kB / 0.9596 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.925e-05/0.6848, allocations: 0.6836 MB / 0.9602 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.361e-05/0.6849, allocations: 3.844 kB / 0.9603 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.6849, allocations: 9.562 kB / 0.9603 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6849, allocations: 0 / 0.9603 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01027/0.6952, allocations: 1.412 MB / 0.9616 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001263/0.6953, allocations: 208.5 kB / 0.9618 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.346, allocations: 4 kB / 0.9618 GB, free: 0.7461 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat does not exist to compare? outputFormat=mat