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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.002135/0.002135, allocations: 184.1 kB / 492.3 MB, free: 0.6094 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.461/1.461, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001102/0.001102, allocations: 99.88 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.994e-05/4.008e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2877, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9724/1.26, allocations: 149.4 MB / 1.358 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/1.261, allocations: 79.14 kB / 1.358 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005913/1.266, allocations: 1.819 MB / 1.36 GB, free: 34.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.413e-06/1.266, allocations: 0 / 1.36 GB, free: 34.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.979e-06/1.267, allocations: 0 / 1.36 GB, free: 34.6 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002788/1.267, allocations: 351.8 kB / 1.361 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.267, allocations: 11.5 kB / 1.361 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/1.267, allocations: 32.11 kB / 1.361 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/1.267, allocations: 7.812 kB / 1.361 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.847e-05/1.267, allocations: 167.9 kB / 1.361 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/1.267, allocations: 0 / 1.361 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/1.267, allocations: 4.125 kB / 1.361 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/1.267, allocations: 35.89 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/1.267, allocations: 3.938 kB / 1.361 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/1.267, allocations: 4 kB / 1.361 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/1.267, allocations: 3.906 kB / 1.361 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.219e-05/1.267, allocations: 9.766 kB / 1.361 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/1.267, allocations: 163.6 kB / 1.361 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.648e-05/1.268, allocations: 31.98 kB / 1.361 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/1.268, allocations: 12.11 kB / 1.361 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007948/1.268, allocations: 1.172 MB / 1.362 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/1.268, allocations: 34.41 kB / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/1.268, allocations: 0 / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001459/1.269, allocations: 50.81 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/1.269, allocations: 51.41 kB / 1.362 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.521e-05/1.269, allocations: 99.81 kB / 1.362 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/1.269, allocations: 29.7 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/1.269, allocations: 87.52 kB / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/1.269, allocations: 7.844 kB / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/1.269, allocations: 0 / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.715e-05/1.269, allocations: 310.8 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/1.269, allocations: 6.719 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.082e-05/1.269, allocations: 3.875 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.195e-05/1.269, allocations: 15 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.269, allocations: 0 / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.889e-05/1.269, allocations: 51.52 kB / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.269, allocations: 3.844 kB / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/1.269, allocations: 3.844 kB / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.269, allocations: 0 / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.392e-05/1.269, allocations: 3.844 kB / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/1.269, allocations: 2.438 kB / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/1.269, allocations: 3.938 kB / 1.363 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/1.269, allocations: 3.844 kB / 1.363 GB, free: 31.68 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 (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 6.595e-05/1.269, allocations: 109.7 kB / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/1.269, allocations: 7.906 kB / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/1.269, allocations: 65.39 kB / 1.363 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.269, allocations: 0 / 1.363 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.269, allocations: 7.781 kB / 1.363 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.269, allocations: 0 / 1.363 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.674e-05/1.27, allocations: 154.8 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.27, allocations: 5.391 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.794e-05/1.27, allocations: 11.75 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.27, allocations: 0 / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/1.27, allocations: 0 / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.27, allocations: 0 / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/1.27, allocations: 0 / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.628e-05/1.27, allocations: 73.33 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/1.27, allocations: 91.48 kB / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/1.27, allocations: 0 / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/1.27, allocations: 4 kB / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/1.27, allocations: 3.812 kB / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/1.27, allocations: 4.812 kB / 1.363 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.095e-05/1.27, allocations: 88.86 kB / 1.364 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.27, allocations: 0 / 1.364 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002326/1.27, allocations: 29.88 kB / 1.364 GB, free: 31.06 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 (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.0004303/1.271, allocations: 0.6409 MB / 1.364 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.634e-05/1.271, allocations: 22.33 kB / 1.364 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.271, allocations: 0 / 1.364 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.406e-05/1.271, allocations: 7.719 kB / 1.364 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/1.271, allocations: 4.922 kB / 1.364 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/1.271, allocations: 104.6 kB / 1.364 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/1.271, allocations: 0.6864 MB / 1.365 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.803e-05/1.272, allocations: 8.25 kB / 1.365 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/1.272, allocations: 16.25 kB / 1.365 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of SimCode: time 4.11e-07/1.272, allocations: 0 / 1.365 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/1.285, allocations: 1.395 MB / 1.366 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/1.285, allocations: 162.8 kB / 1.367 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.915, allocations: 0 / 1.367 GB, free: 29.25 MB / 0.8386 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