Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.TrapezoidalIntegration,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.38/2.38, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001167/0.001167, allocations: 169.1 kB / 498.1 MB, free: 5.766 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.489/1.489, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.00094/0.0009399, allocations: 101.8 kB / 0.9346 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 14.5 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2875, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.4756, allocations: 148.5 MB / 1.368 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.4759, allocations: 75.95 kB / 1.368 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001507/0.4775, allocations: 0.551 MB / 1.369 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4775, allocations: 0 / 1.369 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.4775, allocations: 4 kB / 1.369 GB, free: 12.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003416/0.4779, allocations: 357.7 kB / 1.369 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.4779, allocations: 12.03 kB / 1.369 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.478, allocations: 34.56 kB / 1.369 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.478, allocations: 3.906 kB / 1.369 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.4781, allocations: 175 kB / 1.369 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.4781, allocations: 0 / 1.369 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.4782, allocations: 0 / 1.369 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.4783, allocations: 53.69 kB / 1.369 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.4783, allocations: 0 / 1.369 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.4784, allocations: 0 / 1.369 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.4784, allocations: 15.92 kB / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.523e-05/0.4785, allocations: 23.98 kB / 1.369 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.4788, allocations: 264.8 kB / 1.369 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.435e-05/0.4789, allocations: 22.52 kB / 1.369 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.4789, allocations: 4.062 kB / 1.369 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.479, allocations: 34.55 kB / 1.369 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.479, allocations: 0 / 1.369 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.000193/0.4792, allocations: 67.27 kB / 1.37 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.4792, allocations: 85.17 kB / 1.37 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/0.4793, allocations: 112.9 kB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.4794, allocations: 25.7 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.4794, allocations: 103.8 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.207e-06/0.4794, allocations: 3.906 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.4795, allocations: 8 kB / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4796, allocations: 310.8 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/0.4796, allocations: 11.98 kB / 1.37 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.356e-05/0.4797, allocations: 58.86 kB / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.149e-05/0.4798, allocations: 49.69 kB / 1.37 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4798, allocations: 0 / 1.37 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001545/0.4799, allocations: 119.2 kB / 1.37 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.48, allocations: 33.7 kB / 1.37 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.48, allocations: 0 / 1.37 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.48, allocations: 7.953 kB / 1.37 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.223e-05/0.4801, allocations: 16.19 kB / 1.37 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4801, allocations: 4 kB / 1.37 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.4802, allocations: 7.984 kB / 1.37 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.4802, allocations: 8 kB / 1.37 GB, free: 10.57 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001092/0.4803, allocations: 143.5 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.4803, allocations: 3.906 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.4804, allocations: 7.531 kB / 1.371 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4804, allocations: 3.984 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.4804, allocations: 3.953 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4804, allocations: 0 / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.4806, allocations: 157.7 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4806, allocations: 3.984 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-06/0.4806, allocations: 3.938 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.4806, allocations: 4 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.4806, allocations: 0 / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4806, allocations: 0 / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4806, allocations: 0 / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.4808, allocations: 169.2 kB / 1.371 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.4808, allocations: 77.11 kB / 1.371 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.4808, allocations: 3.938 kB / 1.371 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.813e-05/0.4809, allocations: 4 kB / 1.371 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.4809, allocations: 3.938 kB / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.4809, allocations: 4 kB / 1.371 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.935e-05/0.481, allocations: 91.22 kB / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.01e-07/0.481, allocations: 0 / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002404/0.4813, allocations: 12 kB / 1.371 GB, free: 9.777 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005271/0.4818, allocations: 0.7099 MB / 1.372 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.4819, allocations: 87.33 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4819, allocations: 0.5312 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.482, allocations: 63.39 kB / 1.372 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.4821, allocations: 0.9375 kB / 1.372 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.4825, allocations: 144.3 kB / 1.372 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.4829, allocations: 0.6809 MB / 1.373 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.992e-05/0.483, allocations: 12.17 kB / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.483, allocations: 11.5 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of SimCode: time 6.01e-07/0.483, allocations: 4 kB / 1.373 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.4958, allocations: 1.197 MB / 1.374 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.496, allocations: 191.8 kB / 1.374 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.032, allocations: 0 / 1.374 GB, free: 6.656 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat does not exist to compare? outputFormat=mat