Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.TrapezoidalIntegration,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.006/2.006, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.0009655/0.0009655, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 221.3 MB / 0.7915 GB, free: 5.461 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.0008163/0.0008164, allocations: 95.88 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.375e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2159, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7326/0.9486, allocations: 149.2 MB / 1.365 GB, free: 4.859 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.9489, allocations: 76.14 kB / 1.365 GB, free: 4.816 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001275/0.9502, allocations: 0.5527 MB / 1.365 GB, free: 4.293 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9502, allocations: 0 / 1.365 GB, free: 4.293 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.9503, allocations: 0 / 1.365 GB, free: 4.293 MB / 0.823 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.0003177/0.9506, allocations: 351.2 kB / 1.366 GB, free: 3.906 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.9506, allocations: 8.031 kB / 1.366 GB, free: 3.898 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.253e-05/0.9507, allocations: 34.56 kB / 1.366 GB, free: 3.855 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.9507, allocations: 0.7812 kB / 1.366 GB, free: 3.855 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.9508, allocations: 171 kB / 1.366 GB, free: 3.648 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.9509, allocations: 3.938 kB / 1.366 GB, free: 3.645 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.9509, allocations: 4 kB / 1.366 GB, free: 3.641 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.951, allocations: 56.67 kB / 1.366 GB, free: 3.586 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.9511, allocations: 0 / 1.366 GB, free: 3.586 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.9511, allocations: 4 kB / 1.366 GB, free: 3.582 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.9511, allocations: 4 kB / 1.366 GB, free: 3.578 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.858e-05/0.9512, allocations: 26.11 kB / 1.366 GB, free: 3.559 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.9516, allocations: 260.4 kB / 1.366 GB, free: 3.266 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.578e-05/0.9516, allocations: 22.5 kB / 1.366 GB, free: 3.234 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.9517, allocations: 12.73 kB / 1.366 GB, free: 3.223 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.9517, allocations: 0 / 1.366 GB, free: 3.223 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.9517, allocations: 41.64 kB / 1.366 GB, free: 3.176 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.512e-06/0.9517, allocations: 0 / 1.366 GB, free: 3.176 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001832/0.9519, allocations: 63.31 kB / 1.366 GB, free: 3.102 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.952, allocations: 81.11 kB / 1.366 GB, free: 3.004 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.931e-05/0.9521, allocations: 102.6 kB / 1.366 GB, free: 2.902 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.9521, allocations: 29.7 kB / 1.366 GB, free: 2.867 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.9522, allocations: 107.2 kB / 1.366 GB, free: 2.762 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.316e-06/0.9522, allocations: 8.031 kB / 1.367 GB, free: 2.754 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.9522, allocations: 0 / 1.367 GB, free: 2.754 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.9523, allocations: 313.4 kB / 1.367 GB, free: 2.441 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.056e-05/0.9523, allocations: 11.94 kB / 1.367 GB, free: 2.43 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.685e-05/0.9524, allocations: 58.3 kB / 1.367 GB, free: 2.352 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.739e-05/0.9524, allocations: 49.19 kB / 1.367 GB, free: 2.301 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.9524, allocations: 0 / 1.367 GB, free: 2.301 MB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001433/0.9526, allocations: 122 kB / 1.367 GB, free: 2.176 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.9526, allocations: 34.47 kB / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.9526, allocations: 0 / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.9527, allocations: 7.953 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.9527, allocations: 18.98 kB / 1.367 GB, free: 2.113 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.9528, allocations: 4 kB / 1.367 GB, free: 2.109 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.9528, allocations: 7.938 kB / 1.367 GB, free: 2.102 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.9528, allocations: 4 kB / 1.367 GB, free: 2.098 MB / 0.823 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 () * 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 6.833e-05/0.9529, allocations: 142.1 kB / 1.367 GB, free: 1.949 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.9529, allocations: 7.906 kB / 1.367 GB, free: 1.941 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.953, allocations: 7.641 kB / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.953, allocations: 3.953 kB / 1.367 GB, free: 1.93 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.953, allocations: 0 / 1.367 GB, free: 1.93 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.953, allocations: 0 / 1.367 GB, free: 1.93 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.9531, allocations: 156.8 kB / 1.367 GB, free: 1.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9531, allocations: 0 / 1.367 GB, free: 1.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.9531, allocations: 0 / 1.367 GB, free: 1.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.9531, allocations: 3.984 kB / 1.367 GB, free: 1.727 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.9531, allocations: 0 / 1.367 GB, free: 1.727 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.9532, allocations: 7.938 kB / 1.367 GB, free: 1.719 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9532, allocations: 3.953 kB / 1.367 GB, free: 1.715 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.9533, allocations: 160.8 kB / 1.368 GB, free: 1.539 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.9533, allocations: 81.11 kB / 1.368 GB, free: 1.441 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.9533, allocations: 0 / 1.368 GB, free: 1.441 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.746e-05/0.9534, allocations: 0 / 1.368 GB, free: 1.441 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.9534, allocations: 0 / 1.368 GB, free: 1.441 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.9534, allocations: 11.98 kB / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.624e-05/0.9535, allocations: 95.72 kB / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9535, allocations: 0 / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000209/0.9537, allocations: 12 kB / 1.368 GB, free: 1.328 MB / 0.823 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 (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.000386/0.9541, allocations: 0.7047 MB / 1.368 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.9542, allocations: 85.7 kB / 1.369 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9542, allocations: 4 kB / 1.369 GB, free: 0.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.762e-05/0.9543, allocations: 58.66 kB / 1.369 GB, free: 444 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.9544, allocations: 1.312 kB / 1.369 GB, free: 444 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.9547, allocations: 109.8 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.9549, allocations: 0.6853 MB / 1.369 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.956e-05/0.955, allocations: 16.11 kB / 1.369 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.955, allocations: 14.5 kB / 1.369 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/0.955, allocations: 0 / 1.369 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.9668, allocations: 1.22 MB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/0.967, allocations: 172 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.333/2.3, allocations: 0 / 1.371 GB, free: 14.29 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat does not exist to compare? outputFormat=mat