Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",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.212/2.212, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001158/0.001158, allocations: 175.4 kB / 498.1 MB, free: 5.762 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.923/1.923, allocations: 223.2 MB / 0.7948 GB, free: 17.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.000906/0.0009059, allocations: 106.4 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004814, allocations: 17.39 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3317, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2114/0.5431, allocations: 148.5 MB / 1.368 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.5434, allocations: 71.95 kB / 1.368 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002562/0.546, allocations: 0.968 MB / 1.369 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.186e-06/0.546, allocations: 0 / 1.369 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.5461, allocations: 0 / 1.369 GB, free: 12.47 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.0003204/0.5464, allocations: 327.3 kB / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.5464, allocations: 12.03 kB / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/0.5465, allocations: 34.56 kB / 1.369 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.5467, allocations: 7.984 kB / 1.369 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.5468, allocations: 163 kB / 1.37 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.5468, allocations: 0 / 1.37 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.5468, allocations: 4 kB / 1.37 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.547, allocations: 33.69 kB / 1.37 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.547, allocations: 4 kB / 1.37 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.547, allocations: 7.938 kB / 1.37 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.547, allocations: 0 / 1.37 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.315e-05/0.5471, allocations: 11.98 kB / 1.37 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.5473, allocations: 157.6 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.5475, allocations: 38.59 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.5475, allocations: 4 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.5476, allocations: 34.62 kB / 1.37 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.5476, allocations: 0 / 1.37 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0002288/0.5478, allocations: 61.61 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.5478, allocations: 59.34 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.764e-05/0.5479, allocations: 85 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.5479, allocations: 25.7 kB / 1.37 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.548, allocations: 84.14 kB / 1.37 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.548, allocations: 7.844 kB / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.548, allocations: 0 / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.5481, allocations: 314.8 kB / 1.37 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.718e-05/0.5482, allocations: 7.984 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.974e-05/0.5482, allocations: 4 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.134e-05/0.5483, allocations: 16.22 kB / 1.37 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5483, allocations: 0 / 1.37 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001052/0.5484, allocations: 61.61 kB / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.5484, allocations: 4 kB / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5484, allocations: 0 / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.5484, allocations: 0 / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.5488, allocations: 43.92 kB / 1.371 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.5501, allocations: 1.31 MB / 1.372 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.5502, allocations: 0 / 1.372 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.5502, allocations: 4.031 kB / 1.372 GB, free: 9.223 MB / 0.8698 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.486e-05/0.5503, allocations: 118.5 kB / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-06/0.5503, allocations: 0 / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.567e-05/0.5503, allocations: 3.5 kB / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.5503, allocations: 8.188 kB / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.11e-07/0.5503, allocations: 0 / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5503, allocations: 0 / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.5505, allocations: 157.6 kB / 1.372 GB, free: 8.879 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5505, allocations: 8 kB / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/0.5508, allocations: 39.94 kB / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5508, allocations: 4 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.5508, allocations: 3.984 kB / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.5519, allocations: 1.314 MB / 1.373 GB, free: 7.383 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.552, allocations: 0 / 1.373 GB, free: 7.383 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.5521, allocations: 89.22 kB / 1.374 GB, free: 7.277 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.5521, allocations: 77.11 kB / 1.374 GB, free: 7.184 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-06/0.5522, allocations: 0 / 1.374 GB, free: 7.184 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.74e-05/0.5522, allocations: 4 kB / 1.374 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.5522, allocations: 3.984 kB / 1.374 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.5522, allocations: 0 / 1.374 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.084e-05/0.5523, allocations: 75.28 kB / 1.374 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.374e-06/0.5523, allocations: 0 / 1.374 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001758/0.5524, allocations: 11.94 kB / 1.374 GB, free: 7.09 MB / 0.8698 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004225/0.5529, allocations: 0.6199 MB / 1.374 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004079/0.5533, allocations: 55.92 kB / 1.374 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5533, allocations: 4 kB / 1.374 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.5535, allocations: 27.97 kB / 1.374 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.884e-05/0.5536, allocations: 5.875 kB / 1.374 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.5541, allocations: 120.9 kB / 1.375 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.5543, allocations: 0.6809 MB / 1.375 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.422e-05/0.5544, allocations: 0 / 1.375 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.5544, allocations: 15.42 kB / 1.375 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of SimCode: time 4.429e-06/0.5544, allocations: 0 / 1.375 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/0.5669, allocations: 1.043 MB / 1.376 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.5671, allocations: 217.8 kB / 1.376 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.186, allocations: 4 kB / 1.376 GB, free: 4.348 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat does not exist to compare? outputFormat=mat