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.491/2.491, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001499/0.001499, allocations: 180.8 kB / 487.4 MB, free: 5.051 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.579/1.579, allocations: 221.5 MB / 0.7824 GB, free: 1.004 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.0009437/0.0009437, allocations: 99.89 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.008e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2812, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.96/1.241, allocations: 147.8 MB / 1.35 GB, free: 17.84 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/1.242, allocations: 72.92 kB / 1.35 GB, free: 17.84 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002808/1.244, allocations: 0.9524 MB / 1.351 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.513e-06/1.244, allocations: 0 / 1.351 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.759e-06/1.244, allocations: 0 / 1.351 GB, free: 33.5 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.000232/1.245, allocations: 313 kB / 1.352 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.245, allocations: 12.84 kB / 1.352 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/1.245, allocations: 8.016 kB / 1.352 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.261e-05/1.245, allocations: 165.2 kB / 1.352 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/1.245, allocations: 0 / 1.352 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/1.245, allocations: 8.688 kB / 1.352 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.563e-05/1.245, allocations: 9 kB / 1.352 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.331e-05/1.245, allocations: 40.06 kB / 1.352 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/1.245, allocations: 0 / 1.352 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/1.245, allocations: 0 / 1.352 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.245, allocations: 0 / 1.352 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/1.245, allocations: 140.2 kB / 1.352 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.751e-05/1.245, allocations: 39.59 kB / 1.352 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/1.245, allocations: 13.17 kB / 1.352 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/1.245, allocations: 3.938 kB / 1.352 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/1.245, allocations: 35.11 kB / 1.352 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/1.245, allocations: 0 / 1.352 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001225/1.246, allocations: 40.84 kB / 1.352 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.923e-05/1.246, allocations: 52.02 kB / 1.352 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.439e-05/1.246, allocations: 85 kB / 1.352 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/1.246, allocations: 29.7 kB / 1.352 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/1.246, allocations: 80.7 kB / 1.352 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/1.246, allocations: 15.16 kB / 1.352 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-06/1.246, allocations: 0 / 1.352 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.883e-05/1.246, allocations: 312.2 kB / 1.353 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/1.246, allocations: 3.969 kB / 1.353 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-06/1.246, allocations: 3.562 kB / 1.353 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.117e-05/1.246, allocations: 5 kB / 1.353 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/1.246, allocations: 0 / 1.353 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.787e-05/1.246, allocations: 55.94 kB / 1.353 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/1.246, allocations: 4.766 kB / 1.353 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.246, allocations: 0 / 1.353 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.246, allocations: 2.688 kB / 1.353 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/1.246, allocations: 41.2 kB / 1.353 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008844/1.247, allocations: 1.238 MB / 1.354 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/1.247, allocations: 0.7188 kB / 1.354 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/1.247, allocations: 4.703 kB / 1.354 GB, free: 30.74 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): 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 6.962e-05/1.247, allocations: 106.9 kB / 1.354 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.382e-05/1.248, allocations: 45 kB / 1.354 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/1.248, allocations: 1.312 kB / 1.354 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.664e-06/1.248, allocations: 4.828 kB / 1.354 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/1.248, allocations: 1.344 kB / 1.354 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/1.248, allocations: 0.7969 kB / 1.354 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/1.248, allocations: 4.172 kB / 1.354 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.333e-05/1.248, allocations: 134 kB / 1.354 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.248, allocations: 0.7031 kB / 1.354 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/1.248, allocations: 45.58 kB / 1.354 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/1.248, allocations: 9.938 kB / 1.354 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/1.248, allocations: 0 / 1.354 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007686/1.249, allocations: 1.24 MB / 1.356 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.249, allocations: 5.469 kB / 1.356 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.755e-05/1.249, allocations: 67.97 kB / 1.356 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/1.249, allocations: 78.97 kB / 1.356 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-06/1.249, allocations: 3.953 kB / 1.356 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.001e-05/1.249, allocations: 3.234 kB / 1.356 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/1.249, allocations: 9.016 kB / 1.356 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/1.249, allocations: 1.906 kB / 1.356 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.654e-05/1.249, allocations: 79.28 kB / 1.356 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.249, allocations: 0 / 1.356 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000192/1.249, allocations: 3.938 kB / 1.356 GB, free: 28.9 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): 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.0003292/1.25, allocations: 0.6015 MB / 1.356 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003638/1.25, allocations: 50.94 kB / 1.356 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.25, allocations: 0 / 1.356 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/1.25, allocations: 29.55 kB / 1.357 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001002/1.25, allocations: 9.172 kB / 1.357 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/1.25, allocations: 83.86 kB / 1.357 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/1.251, allocations: 0.6762 MB / 1.357 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.571e-05/1.251, allocations: 2.047 kB / 1.357 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/1.251, allocations: 10.59 kB / 1.357 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.251, allocations: 3.938 kB / 1.357 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/1.269, allocations: 0.6897 MB / 1.358 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/1.269, allocations: 151.3 kB / 1.358 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.402/2.671, allocations: 4 kB / 1.358 GB, free: 27.24 MB / 0.8386 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