Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.402/2.402, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001317/0.001318, allocations: 187.6 kB / 0.4901 GB, free: 2.242 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.614/1.614, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0009614/0.0009614, allocations: 107.8 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003251, allocations: 10.5 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.2999, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1819/0.4819, allocations: 150 MB / 1.376 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.4823, allocations: 79.94 kB / 1.376 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002529/0.4849, allocations: 0.7788 MB / 1.377 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.049e-06/0.4849, allocations: 0 / 1.377 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.4849, allocations: 3.938 kB / 1.377 GB, free: 2.605 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.0004893/0.4854, allocations: 351.2 kB / 1.377 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.4855, allocations: 8.562 kB / 1.377 GB, free: 2.207 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.4856, allocations: 42.48 kB / 1.377 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.4857, allocations: 15.98 kB / 1.377 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.4859, allocations: 171 kB / 1.377 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.4859, allocations: 0 / 1.377 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.4859, allocations: 4 kB / 1.377 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.4861, allocations: 69.66 kB / 1.377 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4862, allocations: 0 / 1.377 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.4862, allocations: 0 / 1.377 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4862, allocations: 0 / 1.377 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.4864, allocations: 63.95 kB / 1.377 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.4869, allocations: 284.8 kB / 1.378 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.4871, allocations: 58.55 kB / 1.378 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.4872, allocations: 4.062 kB / 1.378 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.4872, allocations: 34.56 kB / 1.378 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.4872, allocations: 0 / 1.378 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004958/0.4877, allocations: 129.5 kB / 1.378 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.4878, allocations: 51.41 kB / 1.378 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.554e-05/0.4879, allocations: 105.1 kB / 1.378 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.4879, allocations: 25.7 kB / 1.378 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.4879, allocations: 88.14 kB / 1.378 GB, free: 0.9258 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.488, allocations: 3.906 kB / 1.378 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.488, allocations: 0 / 1.378 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4881, allocations: 310.8 kB / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.4882, allocations: 35.97 kB / 1.378 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.4883, allocations: 31.97 kB / 1.378 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.4885, allocations: 32.05 kB / 1.378 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4885, allocations: 0 / 1.378 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002793/0.4887, allocations: 93.64 kB / 1.379 GB, free: 424 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.4888, allocations: 15.97 kB / 1.379 GB, free: 408 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4888, allocations: 0 / 1.379 GB, free: 408 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.4888, allocations: 0 / 1.379 GB, free: 408 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.489, allocations: 19.92 kB / 1.379 GB, free: 388 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.489, allocations: 0 / 1.379 GB, free: 388 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.154e-05/0.489, allocations: 11.98 kB / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.4891, allocations: 3.953 kB / 1.379 GB, free: 372 kB / 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.761e-05/0.4892, allocations: 113.8 kB / 1.379 GB, free: 248 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.4892, allocations: 4 kB / 1.379 GB, free: 244 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.4892, allocations: 7.469 kB / 1.379 GB, free: 240 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4892, allocations: 0 / 1.379 GB, free: 240 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4892, allocations: 0 / 1.379 GB, free: 240 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.4892, allocations: 0 / 1.379 GB, free: 240 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.4894, allocations: 173.5 kB / 1.379 GB, free: 16 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4894, allocations: 0 / 1.379 GB, free: 16 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.4896, allocations: 20.28 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4896, allocations: 0 / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.4896, allocations: 7.938 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4896, allocations: 0 / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4896, allocations: 0 / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.4899, allocations: 191.4 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.49, allocations: 81.11 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.49, allocations: 3.984 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/0.4901, allocations: 8 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.4901, allocations: 8.016 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.4902, allocations: 4 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.171e-05/0.4902, allocations: 83.28 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4902, allocations: 0 / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002053/0.4904, allocations: 4 kB / 1.379 GB, free: 15.58 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006359/0.4911, allocations: 0.7265 MB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002813/0.4914, allocations: 75.91 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4914, allocations: 0 / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.4915, allocations: 36.05 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.4917, allocations: 0.6875 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.4923, allocations: 162.5 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.4925, allocations: 0.6849 MB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.309e-05/0.4926, allocations: 0 / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.4926, allocations: 15.44 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of SimCode: time 4.71e-07/0.4926, allocations: 0 / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.5055, allocations: 1.18 MB / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.5057, allocations: 180.9 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/1.986, allocations: 4 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat does not exist to compare? outputFormat=mat