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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006792/0.006792, allocations: 103.5 kB / 15.73 MB, free: 6.051 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.00167/0.00167, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.106/2.106, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 68.8 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2288, allocations: 140.4 MB / 1.088 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001451/0.2303, allocations: 0.5804 MB / 1.088 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001893/0.2305, allocations: 39.81 kB / 1.088 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.563e-05/0.2305, allocations: 4 kB / 1.088 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.2306, allocations: 0 / 1.088 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.87e-05/0.2306, allocations: 0 / 1.088 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.2308, allocations: 11.98 kB / 1.088 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.2308, allocations: 15.98 kB / 1.088 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.187e-05/0.2309, allocations: 0 / 1.088 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.612e-05/0.2309, allocations: 4 kB / 1.088 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.221e-05/0.2309, allocations: 0 / 1.088 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.231, allocations: 0 / 1.088 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.367e-05/0.231, allocations: 15.98 kB / 1.088 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.758e-05/0.2311, allocations: 15.92 kB / 1.088 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.2311, allocations: 3.938 kB / 1.088 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.646e-05/0.2312, allocations: 23.91 kB / 1.088 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.2312, allocations: 4 kB / 1.088 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2312, allocations: 4 kB / 1.088 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.2312, allocations: 0 / 1.088 GB, free: 1.254 MB / 0.8419 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.0002744/0.2315, allocations: 345.3 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.2315, allocations: 8.031 kB / 1.089 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.749e-05/0.2315, allocations: 38.75 kB / 1.089 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.036e-05/0.2316, allocations: 0.9375 kB / 1.089 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.773e-05/0.2316, allocations: 167.2 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.2317, allocations: 384 / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.2317, allocations: 8.359 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.2318, allocations: 58.25 kB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2318, allocations: 7.875 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.2318, allocations: 0 / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.2318, allocations: 7.938 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.341e-05/0.2319, allocations: 23.98 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.2322, allocations: 268.8 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.627e-05/0.2322, allocations: 14.58 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.2322, allocations: 12.92 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.2322, allocations: 3.938 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.2323, allocations: 34.5 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2323, allocations: 0 / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001452/0.2324, allocations: 75.3 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.2325, allocations: 77.11 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.025e-05/0.2326, allocations: 118.5 kB / 1.089 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.2326, allocations: 25.7 kB / 1.089 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.2326, allocations: 112.2 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-06/0.2327, allocations: 0 / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.2327, allocations: 25.97 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.2328, allocations: 326.8 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.2328, allocations: 4 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.734e-05/0.2329, allocations: 66.8 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.785e-05/0.233, allocations: 130.2 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.233, allocations: 4 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001261/0.2331, allocations: 115.2 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.2332, allocations: 33.69 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2332, allocations: 4 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2332, allocations: 4.25 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.2333, allocations: 15.94 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2333, allocations: 4 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.2334, allocations: 19.84 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.2334, allocations: 7.938 kB / 1.09 GB, free: 14.81 MB / 0.8575 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.667e-05/0.2335, allocations: 143.5 kB / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.2335, allocations: 0 / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.234e-05/0.2335, allocations: 7.531 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2335, allocations: 4 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2335, allocations: 4 kB / 1.09 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.2335, allocations: 0 / 1.09 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.2336, allocations: 153.6 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2337, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-06/0.2337, allocations: 7.875 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-06/0.2337, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.2337, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2337, allocations: 7.984 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2337, allocations: 0 / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.2338, allocations: 165.2 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.2338, allocations: 85 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-06/0.2339, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.196e-05/0.2339, allocations: 4 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.2339, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2339, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.234, allocations: 95.14 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.234, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002288/0.2342, allocations: 12 kB / 1.091 GB, free: 14.02 MB / 0.8575 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.0003571/0.2346, allocations: 0.7103 MB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.2347, allocations: 83.33 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2347, allocations: 0.5312 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.552e-05/0.2348, allocations: 59.41 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.2349, allocations: 5.703 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.2353, allocations: 142.6 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.2355, allocations: 0.6807 MB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.63e-05/0.2355, allocations: 11.73 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.2356, allocations: 19.42 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.2356, allocations: 4.062 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.042/1.278, allocations: 1.425 MB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/12.04, allocations: 17.44 kB / 1.094 GB, free: 10.87 MB / 0.8575 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/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) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches