Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.01/2.01, allocations: 390.5 MB / 398 MB, free: 10.95 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.001032/0.001032, allocations: 180.2 kB / 491.2 MB, free: 1.594 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.289/1.289, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0008021/0.0008019, allocations: 98.25 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.811e-05/1.812e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1981, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6785/0.8766, allocations: 148.6 MB / 1.358 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/0.8768, allocations: 74.59 kB / 1.358 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00232/0.8791, allocations: 0.9552 MB / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8792, allocations: 0 / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.8792, allocations: 3.875 kB / 1.359 GB, free: 32.89 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.0001792/0.8794, allocations: 317.5 kB / 1.359 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.8794, allocations: 12.25 kB / 1.359 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.8795, allocations: 8.344 kB / 1.359 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.345e-05/0.8796, allocations: 168.1 kB / 1.359 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.8796, allocations: 1.125 kB / 1.359 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.8796, allocations: 0 / 1.359 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.285e-05/0.8797, allocations: 12.56 kB / 1.359 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.896e-05/0.8797, allocations: 36.12 kB / 1.359 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.8797, allocations: 0 / 1.359 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.8798, allocations: 0 / 1.359 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.8798, allocations: 0.75 kB / 1.359 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.131e-05/0.8799, allocations: 140 kB / 1.359 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.541e-05/0.8799, allocations: 39.66 kB / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.88, allocations: 9.672 kB / 1.359 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.88, allocations: 0 / 1.359 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.88, allocations: 38.38 kB / 1.359 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.88, allocations: 0 / 1.359 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001007/0.8801, allocations: 40.28 kB / 1.359 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.292e-05/0.8801, allocations: 55.34 kB / 1.359 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.256e-05/0.8802, allocations: 89 kB / 1.359 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.8802, allocations: 25.7 kB / 1.359 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.573e-05/0.8802, allocations: 81.55 kB / 1.36 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.8802, allocations: 16.16 kB / 1.36 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.8802, allocations: 0 / 1.36 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.917e-05/0.8803, allocations: 312.3 kB / 1.36 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.8803, allocations: 3.875 kB / 1.36 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-06/0.8803, allocations: 0 / 1.36 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.773e-05/0.8804, allocations: 8.844 kB / 1.36 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.8804, allocations: 4 kB / 1.36 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.22e-05/0.8804, allocations: 48.45 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.8804, allocations: 5.25 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.8804, allocations: 0 / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.8805, allocations: 1.219 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.8808, allocations: 42.98 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007779/0.8816, allocations: 1.247 MB / 1.361 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.765e-05/0.8816, allocations: 1.219 kB / 1.361 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.8817, allocations: 0 / 1.361 GB, free: 30.12 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 5.286e-05/0.8817, allocations: 104.8 kB / 1.361 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.413e-05/0.8818, allocations: 48.06 kB / 1.361 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-06/0.8818, allocations: 3.625 kB / 1.361 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.544e-06/0.8818, allocations: 5.484 kB / 1.361 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.8818, allocations: 3.812 kB / 1.361 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.81e-07/0.8818, allocations: 0 / 1.361 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.8818, allocations: 4.297 kB / 1.361 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.229e-05/0.8819, allocations: 125.1 kB / 1.361 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.8819, allocations: 7.766 kB / 1.362 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.8822, allocations: 41.42 kB / 1.362 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.8822, allocations: 7.828 kB / 1.362 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.8822, allocations: 4 kB / 1.362 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000684/0.8829, allocations: 1.241 MB / 1.363 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8829, allocations: 0 / 1.363 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.115e-05/0.883, allocations: 65.55 kB / 1.363 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.883, allocations: 86.47 kB / 1.363 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-06/0.883, allocations: 0 / 1.363 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.728e-05/0.883, allocations: 5.328 kB / 1.363 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.8831, allocations: 0 / 1.363 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.8831, allocations: 5.547 kB / 1.363 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.862e-05/0.8831, allocations: 75.28 kB / 1.363 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8831, allocations: 0 / 1.363 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001832/0.8833, allocations: 3.875 kB / 1.363 GB, free: 28.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): 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.0002777/0.8836, allocations: 0.6121 MB / 1.364 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003315/0.8839, allocations: 46.12 kB / 1.364 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8839, allocations: 0 / 1.364 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.8841, allocations: 29.11 kB / 1.364 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.121e-05/0.8842, allocations: 8.797 kB / 1.364 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001989/0.8844, allocations: 88.27 kB / 1.364 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.8846, allocations: 0.676 MB / 1.364 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.108e-05/0.8847, allocations: 5.438 kB / 1.364 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.8847, allocations: 7.438 kB / 1.364 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/0.8847, allocations: 0 / 1.364 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.9011, allocations: 0.6864 MB / 1.365 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001226/0.9013, allocations: 160 kB / 1.365 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.403/2.304, allocations: 0 / 1.365 GB, free: 26.63 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat does not exist to compare? outputFormat=mat