Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.313/2.313, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001122/0.001122, allocations: 171 kB / 0.4901 GB, free: 2.258 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.518/1.518, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009962/0.0009962, allocations: 100 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.000331, allocations: 8.312 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2714, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.4582, allocations: 150.2 MB / 1.376 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.4585, allocations: 83.94 kB / 1.376 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00562/0.4642, allocations: 1.831 MB / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4642, allocations: 0 / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.4642, allocations: 0 / 1.378 GB, free: 1.277 MB / 0.8698 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.000373/0.4646, allocations: 360.9 kB / 1.378 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.4647, allocations: 8.562 kB / 1.378 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.4647, allocations: 30.56 kB / 1.378 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.4647, allocations: 4 kB / 1.378 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.4649, allocations: 166.9 kB / 1.378 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.4649, allocations: 0 / 1.378 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.4649, allocations: 4 kB / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.465, allocations: 45.62 kB / 1.378 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.465, allocations: 0 / 1.378 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.4651, allocations: 0 / 1.378 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4651, allocations: 0 / 1.378 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.419e-05/0.4651, allocations: 15.98 kB / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.4653, allocations: 161.6 kB / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.716e-05/0.4654, allocations: 30.58 kB / 1.379 GB, free: 316 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.4665, allocations: 1.175 MB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4665, allocations: 34.5 kB / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4665, allocations: 0 / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0001616/0.4667, allocations: 49.69 kB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.4667, allocations: 51.41 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.4668, allocations: 109 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.4668, allocations: 25.7 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.4669, allocations: 84.14 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.4669, allocations: 11.81 kB / 1.38 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.4669, allocations: 0 / 1.38 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.467, allocations: 318.7 kB / 1.38 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.4671, allocations: 7.984 kB / 1.38 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.317e-05/0.4671, allocations: 8.125 kB / 1.38 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.189e-05/0.4671, allocations: 12.08 kB / 1.38 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4671, allocations: 0 / 1.38 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.906e-05/0.4672, allocations: 45.69 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4672, allocations: 8 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4672, allocations: 0 / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4673, allocations: 0 / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.4673, allocations: 4 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4673, allocations: 0 / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.4674, allocations: 3.938 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.4674, allocations: 4 kB / 1.381 GB, free: 14.05 MB / 0.8855 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 8.311e-05/0.4675, allocations: 113.8 kB / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.4675, allocations: 11.98 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.4676, allocations: 53.53 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4676, allocations: 0 / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.4676, allocations: 4 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.4676, allocations: 0 / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.4678, allocations: 165.5 kB / 1.381 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4678, allocations: 4 kB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.4678, allocations: 7.984 kB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.4678, allocations: 4 kB / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.4678, allocations: 0 / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4678, allocations: 0 / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4678, allocations: 0 / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.366e-05/0.4679, allocations: 73.06 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.468, allocations: 85.06 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.468, allocations: 8 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.231e-05/0.4681, allocations: 7.984 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.4681, allocations: 0 / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.4681, allocations: 4 kB / 1.381 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.004e-05/0.4682, allocations: 83.28 kB / 1.381 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4682, allocations: 0 / 1.381 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002076/0.4684, allocations: 31.92 kB / 1.381 GB, free: 13.31 MB / 0.8855 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.0004792/0.4689, allocations: 0.652 MB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.715e-05/0.469, allocations: 12 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.469, allocations: 0 / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.779e-05/0.469, allocations: 11.98 kB / 1.382 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.4692, allocations: 0.8594 kB / 1.382 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.4696, allocations: 188.2 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.4698, allocations: 0.6852 MB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.511e-05/0.4699, allocations: 4 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.4699, allocations: 11.44 kB / 1.383 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of SimCode: time 3.2e-07/0.4699, allocations: 0 / 1.383 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.4825, allocations: 1.399 MB / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.4828, allocations: 202.6 kB / 1.384 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/2.006, allocations: 4.062 kB / 1.384 GB, free: 10.17 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat does not exist to compare? outputFormat=mat