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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002523/0.002523, allocations: 217 kB / 22.26 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.337/3.337, allocations: 0.505 GB / 0.8101 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 71.31 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3574, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00176/0.3591, allocations: 0.5959 MB / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002281/0.3594, allocations: 35.92 kB / 1.354 GB, free: 7.816 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.861e-05/0.3594, allocations: 7.875 kB / 1.354 GB, free: 7.809 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.3594, allocations: 0 / 1.354 GB, free: 7.809 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.966e-05/0.3595, allocations: 4 kB / 1.354 GB, free: 7.805 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.3597, allocations: 15.98 kB / 1.354 GB, free: 7.789 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.697e-05/0.3597, allocations: 3.984 kB / 1.354 GB, free: 7.785 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.3598, allocations: 4 kB / 1.354 GB, free: 7.781 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.609e-05/0.3598, allocations: 0 / 1.354 GB, free: 7.781 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.878e-05/0.3598, allocations: 4 kB / 1.354 GB, free: 7.777 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.3598, allocations: 0 / 1.354 GB, free: 7.777 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.754e-05/0.3599, allocations: 27.97 kB / 1.354 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.3599, allocations: 0 / 1.354 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.36, allocations: 11.94 kB / 1.354 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.453e-05/0.3601, allocations: 28.12 kB / 1.354 GB, free: 7.711 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3601, allocations: 7.938 kB / 1.354 GB, free: 7.703 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.542e-06/0.3601, allocations: 0 / 1.354 GB, free: 7.703 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.3601, allocations: 0 / 1.354 GB, free: 7.703 MB / 1.045 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.0003231/0.3604, allocations: 272.5 kB / 1.354 GB, free: 7.398 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3604, allocations: 12.03 kB / 1.354 GB, free: 7.387 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.3605, allocations: 38.73 kB / 1.354 GB, free: 7.34 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.3605, allocations: 8.922 kB / 1.354 GB, free: 7.332 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.802e-05/0.3606, allocations: 106.5 kB / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.3606, allocations: 384 / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.3606, allocations: 12.31 kB / 1.354 GB, free: 7.191 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.3607, allocations: 54.25 kB / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3607, allocations: 3.938 kB / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-06/0.3607, allocations: 0 / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.3608, allocations: 7.938 kB / 1.354 GB, free: 7.121 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.806e-05/0.3608, allocations: 23.98 kB / 1.354 GB, free: 7.098 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.3611, allocations: 247.9 kB / 1.354 GB, free: 6.812 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.039e-05/0.3612, allocations: 22.52 kB / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.3612, allocations: 8.922 kB / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.3612, allocations: 0 / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.3612, allocations: 30.56 kB / 1.354 GB, free: 6.73 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3612, allocations: 3.938 kB / 1.354 GB, free: 6.727 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001705/0.3614, allocations: 71.39 kB / 1.354 GB, free: 6.645 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.3615, allocations: 77.11 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.512e-05/0.3616, allocations: 117.9 kB / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3616, allocations: 25.7 kB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.3616, allocations: 107.9 kB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.851e-06/0.3616, allocations: 0 / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.3617, allocations: 25.67 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.3619, allocations: 322.8 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.3619, allocations: 8 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.362, allocations: 66.8 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.3622, allocations: 126.2 kB / 1.355 GB, free: 5.672 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3622, allocations: 4 kB / 1.355 GB, free: 5.668 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001536/0.3623, allocations: 115.2 kB / 1.355 GB, free: 5.543 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.315e-05/0.3624, allocations: 33.94 kB / 1.355 GB, free: 5.504 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3624, allocations: 8 kB / 1.355 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3624, allocations: 0 / 1.355 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.3625, allocations: 15.94 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3625, allocations: 4 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-05/0.3626, allocations: 11.95 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.3626, allocations: 7.938 kB / 1.356 GB, free: 5.457 MB / 1.045 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 0.000108/0.3627, allocations: 148.1 kB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.3627, allocations: 4 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.3628, allocations: 11.47 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3628, allocations: 0 / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3628, allocations: 4 kB / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3628, allocations: 0 / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.3629, allocations: 124.7 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3629, allocations: 0 / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3629, allocations: 0 / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.3629, allocations: 0 / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.3629, allocations: 7.938 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3629, allocations: 11.88 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3629, allocations: 0 / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.3631, allocations: 169.2 kB / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.3631, allocations: 3.953 kB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.3631, allocations: 3.984 kB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-05/0.3632, allocations: 8 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.3632, allocations: 0 / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.3632, allocations: 0 / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001428/0.3633, allocations: 91.67 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3633, allocations: 4.031 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002442/0.3636, allocations: 16 kB / 1.356 GB, free: 4.777 MB / 1.045 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.0004889/0.3641, allocations: 0.6946 MB / 1.357 GB, free: 4.051 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.3642, allocations: 83.61 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.3642, allocations: 0 / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.3643, allocations: 55.41 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.3645, allocations: 8 kB / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.3649, allocations: 142.5 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.3652, allocations: 0.6768 MB / 1.358 GB, free: 3 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.041e-05/0.3653, allocations: 20.23 kB / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.3653, allocations: 11.42 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.3653, allocations: 4 kB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.3976, allocations: 1.577 MB / 1.359 GB, free: 1.531 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.34, allocations: 10.89 kB / 1.359 GB, free: 1.523 MB / 1.045 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.362691359000564]