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.442/2.442, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001451/0.001451, allocations: 168.9 kB / 487.4 MB, free: 5.043 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.648/1.648, allocations: 221.5 MB / 0.7824 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 95.84 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.246e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.296, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.298, allocations: 148.7 MB / 1.351 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/1.298, allocations: 79.48 kB / 1.351 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005707/1.304, allocations: 1.8 MB / 1.353 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/1.304, allocations: 0 / 1.353 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.304, allocations: 3.875 kB / 1.353 GB, free: 33.75 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.0002947/1.304, allocations: 340.7 kB / 1.353 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/1.304, allocations: 7.656 kB / 1.353 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/1.304, allocations: 11.16 kB / 1.353 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.316e-05/1.304, allocations: 172.5 kB / 1.354 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/1.304, allocations: 3.969 kB / 1.354 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/1.304, allocations: 0 / 1.354 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.41e-05/1.304, allocations: 13.53 kB / 1.354 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.671e-05/1.305, allocations: 38.61 kB / 1.354 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.305, allocations: 3.938 kB / 1.354 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/1.305, allocations: 0.6562 kB / 1.354 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/1.305, allocations: 0.75 kB / 1.354 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/1.305, allocations: 143.8 kB / 1.354 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.358e-05/1.305, allocations: 26.95 kB / 1.354 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/1.305, allocations: 16.64 kB / 1.354 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008079/1.306, allocations: 1.178 MB / 1.355 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/1.306, allocations: 31.17 kB / 1.355 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.306, allocations: 0 / 1.355 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001849/1.306, allocations: 44.03 kB / 1.355 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/1.306, allocations: 59.34 kB / 1.355 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/1.306, allocations: 98.27 kB / 1.355 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/1.306, allocations: 25.7 kB / 1.355 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/1.306, allocations: 84.67 kB / 1.355 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/1.306, allocations: 8.438 kB / 1.355 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/1.306, allocations: 0 / 1.355 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.306, allocations: 311.5 kB / 1.356 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/1.306, allocations: 7.5 kB / 1.356 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-06/1.306, allocations: 0 / 1.356 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.369e-05/1.306, allocations: 13.39 kB / 1.356 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.306, allocations: 0 / 1.356 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.294e-05/1.306, allocations: 47.98 kB / 1.356 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/1.306, allocations: 7.188 kB / 1.356 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/1.306, allocations: 0 / 1.356 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.306, allocations: 0.7031 kB / 1.356 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.108e-05/1.306, allocations: 4.672 kB / 1.356 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/1.306, allocations: 3.844 kB / 1.356 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/1.306, allocations: 3.938 kB / 1.356 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/1.307, allocations: 0.5625 kB / 1.356 GB, free: 30.91 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.733e-05/1.307, allocations: 105 kB / 1.356 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.423e-05/1.307, allocations: 59.94 kB / 1.356 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/1.307, allocations: 0.6094 kB / 1.356 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/1.307, allocations: 53.88 kB / 1.356 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.307, allocations: 0.7031 kB / 1.356 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.307, allocations: 3.938 kB / 1.356 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/1.307, allocations: 4 kB / 1.356 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.397e-05/1.307, allocations: 138.8 kB / 1.356 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.307, allocations: 0 / 1.356 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/1.307, allocations: 8.641 kB / 1.356 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.307, allocations: 1.75 kB / 1.356 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/1.307, allocations: 4.625 kB / 1.356 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.307, allocations: 0 / 1.356 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.307, allocations: 3.984 kB / 1.356 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.857e-05/1.307, allocations: 76.39 kB / 1.356 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/1.307, allocations: 83.27 kB / 1.356 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/1.307, allocations: 4.75 kB / 1.356 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.645e-05/1.307, allocations: 3.812 kB / 1.356 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/1.307, allocations: 1.594 kB / 1.356 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/1.307, allocations: 3.625 kB / 1.356 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.615e-05/1.307, allocations: 84.33 kB / 1.356 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.307, allocations: 0 / 1.356 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002023/1.308, allocations: 32.31 kB / 1.356 GB, free: 30.29 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.0004465/1.308, allocations: 0.6439 MB / 1.357 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.005e-05/1.308, allocations: 16.23 kB / 1.357 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.308, allocations: 0 / 1.357 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.129e-05/1.308, allocations: 8.328 kB / 1.357 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/1.308, allocations: 6.031 kB / 1.357 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/1.309, allocations: 106 kB / 1.357 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/1.309, allocations: 0.6817 MB / 1.358 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.559e-05/1.309, allocations: 8.891 kB / 1.358 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/1.309, allocations: 12.05 kB / 1.358 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.309, allocations: 3.844 kB / 1.358 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/1.333, allocations: 1.093 MB / 1.359 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/1.333, allocations: 163.3 kB / 1.359 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/2.829, allocations: 0 / 1.359 GB, free: 28.58 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