Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_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.258/2.258, 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.001392/0.001392, allocations: 177.2 kB / 498.1 MB, free: 5.738 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.673/1.673, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.0009102/0.0009101, allocations: 95.52 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003778, allocations: 10.84 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2671, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1757/0.4429, allocations: 149.2 MB / 1.369 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.4432, allocations: 71.95 kB / 1.369 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002373/0.4456, allocations: 0.7851 MB / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.355e-06/0.4456, allocations: 0 / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.4456, allocations: 4 kB / 1.369 GB, free: 11.88 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.0004516/0.4461, allocations: 353.1 kB / 1.37 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.4461, allocations: 12.02 kB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.4462, allocations: 30.56 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.4463, allocations: 15.98 kB / 1.37 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.4465, allocations: 174.9 kB / 1.37 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.4465, allocations: 0 / 1.37 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.4465, allocations: 4 kB / 1.37 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.4468, allocations: 61.66 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4468, allocations: 3.938 kB / 1.37 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4468, allocations: 4 kB / 1.37 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4468, allocations: 7.984 kB / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.447, allocations: 59.95 kB / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.4475, allocations: 284.9 kB / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.4477, allocations: 62.48 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.4477, allocations: 4 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.4477, allocations: 34.5 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.4477, allocations: 0 / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004395/0.4482, allocations: 125.7 kB / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.4482, allocations: 51.41 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.606e-05/0.4483, allocations: 104.9 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.4483, allocations: 29.7 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.4484, allocations: 88.27 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.4484, allocations: 3.906 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.4484, allocations: 0 / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4486, allocations: 310.8 kB / 1.371 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.4487, allocations: 31.97 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.4488, allocations: 35.97 kB / 1.371 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.4489, allocations: 31.92 kB / 1.371 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4489, allocations: 0 / 1.371 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002549/0.4492, allocations: 97.7 kB / 1.371 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4492, allocations: 8 kB / 1.371 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4492, allocations: 0 / 1.371 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4492, allocations: 0 / 1.371 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.4494, allocations: 20.02 kB / 1.371 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/0.4494, allocations: 3.984 kB / 1.371 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.982e-05/0.4495, allocations: 11.98 kB / 1.371 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.4495, allocations: 3.953 kB / 1.371 GB, free: 9.629 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 (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 7.841e-05/0.4496, allocations: 105.8 kB / 1.372 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.4496, allocations: 7.906 kB / 1.372 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.4496, allocations: 11.53 kB / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4497, allocations: 0 / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4497, allocations: 0 / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.4497, allocations: 0 / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.4498, allocations: 165.9 kB / 1.372 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4498, allocations: 4 kB / 1.372 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.078e-05/0.4499, allocations: 19.92 kB / 1.372 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.45, allocations: 0 / 1.372 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.45, allocations: 3.984 kB / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.45, allocations: 4 kB / 1.372 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.45, allocations: 0 / 1.372 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.4503, allocations: 195.5 kB / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.4503, allocations: 77.11 kB / 1.372 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.4504, allocations: 3.984 kB / 1.372 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.4505, allocations: 8 kB / 1.372 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.4505, allocations: 3.984 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.4505, allocations: 11.88 kB / 1.372 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.005e-05/0.4506, allocations: 83.28 kB / 1.372 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4506, allocations: 4.031 kB / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002088/0.4508, allocations: 7.906 kB / 1.372 GB, free: 8.828 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 (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.0006123/0.4514, allocations: 0.7355 MB / 1.373 GB, free: 8.062 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002492/0.4517, allocations: 63.97 kB / 1.373 GB, free: 8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4517, allocations: 0 / 1.373 GB, free: 8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.4518, allocations: 31.98 kB / 1.373 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.452, allocations: 11.8 kB / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.4525, allocations: 162.6 kB / 1.373 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.4528, allocations: 0.677 MB / 1.374 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.656e-05/0.4528, allocations: 4 kB / 1.374 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.4529, allocations: 11.44 kB / 1.374 GB, free: 7.043 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/0.4529, allocations: 0 / 1.374 GB, free: 7.043 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/0.4653, allocations: 1.152 MB / 1.375 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.4656, allocations: 186.1 kB / 1.375 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/1.974, allocations: 7.312 kB / 1.375 GB, free: 5.754 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat does not exist to compare? outputFormat=mat