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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 193.2 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.532/2.532, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 64.44 kB / 0.8985 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.243, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001664/0.2447, allocations: 0.656 MB / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002257/0.2449, allocations: 51.8 kB / 1.053 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.289e-05/0.2449, allocations: 0 / 1.053 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.245, allocations: 0 / 1.053 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.063e-05/0.245, allocations: 4 kB / 1.053 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.2452, allocations: 11.98 kB / 1.053 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.754e-05/0.2452, allocations: 7.984 kB / 1.053 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.2452, allocations: 4 kB / 1.053 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.695e-05/0.2453, allocations: 7.938 kB / 1.053 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.69e-05/0.2453, allocations: 0 / 1.053 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.2453, allocations: 0 / 1.053 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.11e-05/0.2454, allocations: 15.98 kB / 1.053 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.2454, allocations: 4 kB / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.2454, allocations: 7.938 kB / 1.053 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.749e-05/0.2455, allocations: 27.89 kB / 1.053 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2455, allocations: 0 / 1.053 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.91e-07/0.2455, allocations: 0 / 1.053 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.2455, allocations: 4 kB / 1.053 GB, free: 7.434 MB / 0.8106 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.0002762/0.2458, allocations: 349.3 kB / 1.053 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2459, allocations: 15.97 kB / 1.053 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.2459, allocations: 30.75 kB / 1.053 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.2459, allocations: 0.9375 kB / 1.053 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.686e-05/0.246, allocations: 164.6 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.246, allocations: 4.375 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.246, allocations: 384 / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.2461, allocations: 66.19 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2462, allocations: 3.938 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2462, allocations: 0 / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.2462, allocations: 15.92 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.072e-05/0.2462, allocations: 23.92 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.2465, allocations: 268.8 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.922e-05/0.2466, allocations: 18.58 kB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.562e-05/0.2466, allocations: 16.8 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-06/0.2466, allocations: 0 / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.2466, allocations: 34.56 kB / 1.054 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2466, allocations: 4.062 kB / 1.054 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.2468, allocations: 63.39 kB / 1.054 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.2468, allocations: 77.11 kB / 1.054 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.2469, allocations: 117.8 kB / 1.054 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.2469, allocations: 29.7 kB / 1.054 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.247, allocations: 103.9 kB / 1.054 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.247, allocations: 8 kB / 1.054 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.247, allocations: 25.66 kB / 1.054 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.2471, allocations: 314.8 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.86e-05/0.2471, allocations: 11.98 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.665e-05/0.2472, allocations: 67.16 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.205e-05/0.2473, allocations: 130.1 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2473, allocations: 0 / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001278/0.2474, allocations: 119.2 kB / 1.055 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.2475, allocations: 33.7 kB / 1.055 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2475, allocations: 0 / 1.055 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2475, allocations: 4.25 kB / 1.055 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.646e-05/0.2475, allocations: 19.92 kB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2476, allocations: 4 kB / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.17e-05/0.2476, allocations: 7.938 kB / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.2476, allocations: 7.938 kB / 1.055 GB, free: 4.992 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.204e-05/0.2477, allocations: 143.5 kB / 1.055 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.2477, allocations: 7.891 kB / 1.055 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.023e-05/0.2478, allocations: 11.47 kB / 1.055 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.81e-07/0.2478, allocations: 0 / 1.055 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2478, allocations: 0 / 1.055 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2478, allocations: 4 kB / 1.055 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.2479, allocations: 157.6 kB / 1.055 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2479, allocations: 0 / 1.055 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.503e-06/0.2479, allocations: 7.938 kB / 1.055 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.2479, allocations: 0 / 1.055 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2479, allocations: 4 kB / 1.055 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.2479, allocations: 0 / 1.055 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2479, allocations: 0 / 1.055 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.2481, allocations: 169.2 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.2481, allocations: 77.11 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.2481, allocations: 3.938 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.314e-05/0.2482, allocations: 4 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.2482, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.2482, allocations: 11.97 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.2482, allocations: 87.22 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.352e-06/0.2482, allocations: 4 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002263/0.2485, allocations: 15.94 kB / 1.056 GB, free: 4.191 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003464/0.2488, allocations: 0.7063 MB / 1.056 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.2489, allocations: 83.33 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.2489, allocations: 0.5312 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.329e-05/0.249, allocations: 67.34 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.2492, allocations: 13.42 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.2495, allocations: 152.2 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.2497, allocations: 0.677 MB / 1.057 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.095e-05/0.2498, allocations: 12.05 kB / 1.057 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.2498, allocations: 11.44 kB / 1.057 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2498, allocations: 0 / 1.057 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2285/0.4783, allocations: 1.28 MB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/0.4786, allocations: 235.8 kB / 1.059 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.541, allocations: 0 / 1.059 GB, free: 0.9531 MB / 0.8106 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/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) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches