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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008971/0.0008971, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.005019/0.005019, allocations: 169.2 kB / 16.26 MB, free: 6.66 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.244/1.244, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.125/2.125, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.0002969, allocations: 12 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5607, allocations: 142.4 MB / 0.9552 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.000524/0.5612, allocations: 324.3 kB / 0.9555 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001895/0.5614, allocations: 48.09 kB / 0.9555 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.175e-05/0.5614, allocations: 0 / 0.9555 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.5615, allocations: 0 / 0.9555 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.56e-05/0.5615, allocations: 5.156 kB / 0.9555 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.5616, allocations: 11.02 kB / 0.9555 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.335e-05/0.5617, allocations: 3.906 kB / 0.9555 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.269e-05/0.5617, allocations: 0 / 0.9555 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.634e-05/0.5617, allocations: 2.562 kB / 0.9556 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.824e-05/0.5617, allocations: 5.375 kB / 0.9556 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.5618, allocations: 0 / 0.9556 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.841e-05/0.5618, allocations: 16.48 kB / 0.9556 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.5619, allocations: 11.02 kB / 0.9556 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.5619, allocations: 33.62 kB / 0.9556 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.752e-05/0.562, allocations: 29.58 kB / 0.9556 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.562, allocations: 0 / 0.9556 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.562, allocations: 1.156 kB / 0.9556 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.635e-06/0.562, allocations: 0 / 0.9556 GB, free: 7.25 MB / 0.7169 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.0001715/0.5622, allocations: 347 kB / 0.956 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.5622, allocations: 9.625 kB / 0.956 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.351e-05/0.5622, allocations: 35.94 kB / 0.956 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.833e-05/0.5623, allocations: 6.031 kB / 0.956 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.899e-05/0.5623, allocations: 167.9 kB / 0.9562 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.5623, allocations: 384 / 0.9562 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.5623, allocations: 6.719 kB / 0.9562 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.5624, allocations: 53.34 kB / 0.9562 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.5624, allocations: 4.688 kB / 0.9562 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.5625, allocations: 0 / 0.9562 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.5625, allocations: 6.156 kB / 0.9563 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.066e-05/0.5625, allocations: 26.8 kB / 0.9563 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.5627, allocations: 272 kB / 0.9565 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.028e-05/0.5628, allocations: 19.92 kB / 0.9566 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.141e-05/0.5628, allocations: 7.328 kB / 0.9566 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-06/0.5628, allocations: 0 / 0.9566 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.938e-06/0.5628, allocations: 36.06 kB / 0.9566 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.5628, allocations: 0 / 0.9566 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001291/0.563, allocations: 73.45 kB / 0.9567 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.563, allocations: 78.05 kB / 0.9567 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.269e-05/0.563, allocations: 118.7 kB / 0.9569 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.5631, allocations: 25.7 kB / 0.9569 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.5631, allocations: 103.8 kB / 0.957 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-06/0.5631, allocations: 13.16 kB / 0.957 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.5631, allocations: 11.12 kB / 0.957 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.133e-05/0.5632, allocations: 323.9 kB / 0.9573 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.5632, allocations: 7.719 kB / 0.9573 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.5632, allocations: 64.89 kB / 0.9574 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.376e-05/0.5633, allocations: 133 kB / 0.9575 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.5633, allocations: 0 / 0.9575 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001129/0.5634, allocations: 116.5 kB / 0.9576 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.5634, allocations: 36.73 kB / 0.9577 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.5635, allocations: 1.812 kB / 0.9577 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.5635, allocations: 6.625 kB / 0.9577 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.49e-05/0.5635, allocations: 15.36 kB / 0.9577 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.5635, allocations: 6.219 kB / 0.9577 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.751e-05/0.5636, allocations: 7.531 kB / 0.9577 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.5636, allocations: 10.44 kB / 0.9577 GB, free: 5.043 MB / 0.7169 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 4.903e-05/0.5637, allocations: 144.1 kB / 0.9578 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.5637, allocations: 2.875 kB / 0.9578 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.247e-06/0.5637, allocations: 4.875 kB / 0.9578 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.5637, allocations: 4 kB / 0.9578 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.5637, allocations: 0 / 0.9578 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.5637, allocations: 1.281 kB / 0.9578 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.361e-05/0.5638, allocations: 158 kB / 0.958 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.5638, allocations: 0 / 0.958 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.5638, allocations: 0 / 0.958 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5638, allocations: 1.281 kB / 0.958 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.5639, allocations: 0 / 0.958 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.5639, allocations: 1.062 kB / 0.958 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5639, allocations: 0 / 0.958 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.976e-05/0.5639, allocations: 177.6 kB / 0.9582 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.564, allocations: 82.3 kB / 0.9582 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.564, allocations: 1.375 kB / 0.9583 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.669e-05/0.564, allocations: 5.328 kB / 0.9583 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.5641, allocations: 0 / 0.9583 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.5641, allocations: 2.375 kB / 0.9583 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.681e-05/0.5641, allocations: 95.55 kB / 0.9583 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5641, allocations: 32 / 0.9583 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002525/0.5644, allocations: 13.38 kB / 0.9584 GB, free: 4.305 MB / 0.7169 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.0002209/0.5646, allocations: 0.698 MB / 0.959 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.733e-05/0.5647, allocations: 87.67 kB / 0.9591 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.5647, allocations: 5.062 kB / 0.9591 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-05/0.5647, allocations: 58.78 kB / 0.9592 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.5649, allocations: 15.88 kB / 0.9592 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.5652, allocations: 139.6 kB / 0.9593 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.998e-05/0.5653, allocations: 0.6782 MB / 0.96 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.39e-05/0.5654, allocations: 14.58 kB / 0.96 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/0.5654, allocations: 9.5 kB / 0.96 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5654, allocations: 0 / 0.96 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009391/0.5748, allocations: 1.23 MB / 0.9612 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/0.5749, allocations: 219.2 kB / 0.9614 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.142, allocations: 0 / 0.9614 GB, free: 1.773 MB / 0.7169 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