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.281/2.281, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001221/0.001221, allocations: 180.9 kB / 492.3 MB, free: 0.6172 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.672/1.672, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0009086/0.0009086, allocations: 90.84 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.074e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2627, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9415/1.204, allocations: 149 MB / 1.358 GB, free: 18.85 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/1.204, allocations: 83.16 kB / 1.358 GB, free: 18.85 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002648/1.207, allocations: 0.8494 MB / 1.359 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.362e-06/1.207, allocations: 0 / 1.359 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.502e-06/1.207, allocations: 0 / 1.359 GB, free: 34.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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002315/1.207, allocations: 330.7 kB / 1.359 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.207, allocations: 11.69 kB / 1.359 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/1.207, allocations: 30.56 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.08e-05/1.208, allocations: 4.875 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.973e-05/1.208, allocations: 165.2 kB / 1.359 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/1.208, allocations: 1.812 kB / 1.359 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/1.208, allocations: 3.812 kB / 1.359 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.529e-05/1.208, allocations: 30.22 kB / 1.359 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/1.208, allocations: 7.859 kB / 1.359 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/1.208, allocations: 0 / 1.359 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/1.208, allocations: 0 / 1.359 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.908e-05/1.208, allocations: 9.391 kB / 1.359 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/1.208, allocations: 153.9 kB / 1.36 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.233e-05/1.208, allocations: 24 kB / 1.36 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/1.208, allocations: 12.02 kB / 1.36 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005111/1.209, allocations: 0.5989 MB / 1.36 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/1.209, allocations: 30.56 kB / 1.36 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.209, allocations: 4 kB / 1.36 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001174/1.209, allocations: 42.34 kB / 1.36 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/1.209, allocations: 55.34 kB / 1.36 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.971e-05/1.209, allocations: 93.78 kB / 1.36 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/1.209, allocations: 25.7 kB / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.656e-05/1.209, allocations: 83.98 kB / 1.361 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/1.209, allocations: 13.23 kB / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/1.209, allocations: 0 / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.267e-05/1.209, allocations: 318.3 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/1.209, allocations: 5.484 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-06/1.209, allocations: 0 / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.554e-05/1.209, allocations: 9.25 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.209, allocations: 0 / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.047e-05/1.209, allocations: 37.66 kB / 1.361 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.209, allocations: 7.844 kB / 1.361 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.209, allocations: 0 / 1.361 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/1.209, allocations: 5.547 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.747e-05/1.209, allocations: 7.781 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/1.209, allocations: 0 / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/1.209, allocations: 0 / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/1.209, allocations: 0 / 1.361 GB, free: 32.28 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 (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.811e-05/1.209, allocations: 112.5 kB / 1.361 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/1.209, allocations: 0 / 1.361 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.252e-05/1.209, allocations: 45.47 kB / 1.361 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/1.209, allocations: 1.312 kB / 1.361 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.209, allocations: 4.031 kB / 1.361 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/1.209, allocations: 0 / 1.361 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.267e-05/1.21, allocations: 156.3 kB / 1.361 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.21, allocations: 3.953 kB / 1.361 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/1.21, allocations: 5.234 kB / 1.361 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/1.21, allocations: 0 / 1.361 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/1.21, allocations: 0 / 1.361 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.21, allocations: 7.781 kB / 1.361 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.21, allocations: 0 / 1.361 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.556e-05/1.21, allocations: 63.05 kB / 1.361 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/1.21, allocations: 88.22 kB / 1.361 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/1.21, allocations: 9.5 kB / 1.361 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.504e-05/1.21, allocations: 0 / 1.361 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/1.21, allocations: 0 / 1.361 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/1.21, allocations: 0 / 1.361 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.298e-05/1.21, allocations: 80.94 kB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.21, allocations: 0 / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001834/1.21, allocations: 15.69 kB / 1.361 GB, free: 31.68 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 (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.0003488/1.21, allocations: 0.6206 MB / 1.362 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.955e-05/1.21, allocations: 11.56 kB / 1.362 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.21, allocations: 0 / 1.362 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.467e-06/1.21, allocations: 8.062 kB / 1.362 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/1.211, allocations: 10.08 kB / 1.362 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/1.211, allocations: 93.84 kB / 1.362 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/1.211, allocations: 0.6799 MB / 1.363 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.792e-05/1.211, allocations: 5.422 kB / 1.363 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/1.211, allocations: 7.438 kB / 1.363 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.211, allocations: 4.062 kB / 1.363 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01104/1.222, allocations: 1.199 MB / 1.364 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001312/1.222, allocations: 166.8 kB / 1.364 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.826, allocations: 0 / 1.364 GB, free: 29.87 MB / 0.8386 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