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.429/2.429, 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.002336/0.002336, allocations: 187.5 kB / 0.4901 GB, free: 2.23 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.597/1.597, 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.0009109/0.0009111, allocations: 96.27 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004919, allocations: 14 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.267, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1812/0.4482, allocations: 149.3 MB / 1.375 GB, free: 4.105 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.4485, allocations: 71.95 kB / 1.375 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00258/0.4511, allocations: 0.9579 MB / 1.376 GB, free: 3.074 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.107e-06/0.4512, allocations: 4 kB / 1.376 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.4512, allocations: 3.938 kB / 1.376 GB, free: 3.066 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.0003403/0.4515, allocations: 323.4 kB / 1.376 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.4516, allocations: 8.562 kB / 1.376 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.4517, allocations: 30.56 kB / 1.376 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.4518, allocations: 7.984 kB / 1.376 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.452, allocations: 167 kB / 1.377 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.452, allocations: 4 kB / 1.377 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.452, allocations: 7.938 kB / 1.377 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.4522, allocations: 37.69 kB / 1.377 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4522, allocations: 3.984 kB / 1.377 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.4522, allocations: 0 / 1.377 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.4522, allocations: 4 kB / 1.377 GB, free: 2.383 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.836e-05/0.4523, allocations: 7.984 kB / 1.377 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.4525, allocations: 153.6 kB / 1.377 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.4527, allocations: 50.59 kB / 1.377 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.4527, allocations: 4 kB / 1.377 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.4528, allocations: 32.16 kB / 1.377 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.4528, allocations: 0 / 1.377 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0002171/0.453, allocations: 53.77 kB / 1.377 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.453, allocations: 55.41 kB / 1.377 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.318e-05/0.4531, allocations: 85 kB / 1.377 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.4531, allocations: 25.7 kB / 1.377 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.4531, allocations: 80.14 kB / 1.377 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.4532, allocations: 15.81 kB / 1.377 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-06/0.4532, allocations: 0 / 1.377 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4533, allocations: 310.8 kB / 1.378 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/0.4534, allocations: 11.92 kB / 1.378 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/0.4534, allocations: 12 kB / 1.378 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.103e-05/0.4535, allocations: 11.94 kB / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.4535, allocations: 0 / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001124/0.4536, allocations: 49.95 kB / 1.378 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.4536, allocations: 4 kB / 1.378 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4536, allocations: 7.922 kB / 1.378 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4536, allocations: 4 kB / 1.378 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.454, allocations: 43.92 kB / 1.378 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.4555, allocations: 1.314 MB / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.353e-05/0.4555, allocations: 11.92 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.4555, allocations: 0 / 1.379 GB, free: 15.82 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): 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.387e-05/0.4556, allocations: 114.8 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.4556, allocations: 4 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.798e-05/0.4557, allocations: 7.5 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4557, allocations: 0 / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.4557, allocations: 0 / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4557, allocations: 0 / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.4558, allocations: 153.6 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.4558, allocations: 0 / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.4562, allocations: 55.86 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.4562, allocations: 0 / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.4562, allocations: 0 / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.4574, allocations: 1.31 MB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4574, allocations: 4.25 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.4576, allocations: 77.08 kB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.4576, allocations: 81.11 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-06/0.4577, allocations: 0 / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.172e-05/0.4577, allocations: 7.984 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.4577, allocations: 0 / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.4577, allocations: 8 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.301e-05/0.4578, allocations: 79.28 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4578, allocations: 0 / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001858/0.458, allocations: 4 kB / 1.381 GB, free: 13.69 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): 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.0004796/0.4585, allocations: 0.6162 MB / 1.381 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000407/0.4589, allocations: 55.92 kB / 1.381 GB, free: 13 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4589, allocations: 0 / 1.381 GB, free: 13 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.4591, allocations: 35.89 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.4592, allocations: 4 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.4597, allocations: 124.6 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.4599, allocations: 0.677 MB / 1.382 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.392e-05/0.46, allocations: 0 / 1.382 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.46, allocations: 19.36 kB / 1.382 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of SimCode: time 5.21e-07/0.46, allocations: 4 kB / 1.382 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.4747, allocations: 1.051 MB / 1.383 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/0.4749, allocations: 219.3 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.033, allocations: 0 / 1.384 GB, free: 10.96 MB / 0.8855 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