Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001478/0.001478, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001699/0.001699, allocations: 216.9 kB / 22.25 MB, free: 5.125 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.202/3.202, allocations: 0.49 GB / 0.7951 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_12_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.001973/0.001973, allocations: 74.73 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3405, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002181/0.3427, allocations: 0.5964 MB / 1.327 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000307/0.343, allocations: 39.88 kB / 1.327 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/0.343, allocations: 0 / 1.327 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.343, allocations: 4 kB / 1.327 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.371e-05/0.3431, allocations: 3.938 kB / 1.327 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.3433, allocations: 15.97 kB / 1.327 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.37e-05/0.3434, allocations: 4 kB / 1.327 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.3435, allocations: 0 / 1.327 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.812e-05/0.3435, allocations: 8 kB / 1.327 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.3435, allocations: 0 / 1.327 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3436, allocations: 0 / 1.327 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.625e-05/0.3437, allocations: 23.97 kB / 1.327 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.3437, allocations: 7.938 kB / 1.327 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.3437, allocations: 7.938 kB / 1.327 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.3438, allocations: 24.19 kB / 1.327 GB, free: 1.168 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.3439, allocations: 4 kB / 1.327 GB, free: 1.164 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3439, allocations: 0 / 1.327 GB, free: 1.164 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.3439, allocations: 0 / 1.327 GB, free: 1.164 MB / 1.014 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.0003772/0.3442, allocations: 272.5 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3443, allocations: 8.031 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.117e-05/0.3444, allocations: 42.69 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.3444, allocations: 8.891 kB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.3445, allocations: 110.5 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3445, allocations: 4.375 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.3445, allocations: 384 / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.3447, allocations: 54.25 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3447, allocations: 3.938 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3447, allocations: 0 / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.3448, allocations: 8 kB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.457e-05/0.3448, allocations: 27.91 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.3453, allocations: 251.9 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.786e-05/0.3453, allocations: 18.58 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.3454, allocations: 4.859 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.3454, allocations: 0 / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.3454, allocations: 30.56 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3454, allocations: 4.062 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.000218/0.3456, allocations: 79.27 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.3457, allocations: 77.11 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.3458, allocations: 109.8 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.3458, allocations: 29.7 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.3459, allocations: 107.9 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.3459, allocations: 4 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.346, allocations: 21.72 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3461, allocations: 322.8 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.3461, allocations: 12.12 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.561e-05/0.3462, allocations: 54.86 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3463, allocations: 134.1 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3464, allocations: 4 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001742/0.3465, allocations: 123.2 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.3466, allocations: 35.42 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3466, allocations: 3.984 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3466, allocations: 4 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.3467, allocations: 8 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3467, allocations: 7.938 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.607e-05/0.3468, allocations: 11.94 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.3468, allocations: 11.94 kB / 1.329 GB, free: 14.91 MB / 1.029 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.0001229/0.3469, allocations: 148.2 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.3469, allocations: 3.953 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.347, allocations: 11.47 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.347, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.347, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.347, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.3472, allocations: 124.7 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3472, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.3472, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3472, allocations: 4 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.3472, allocations: 4 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3472, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3472, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.3473, allocations: 173.1 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.3474, allocations: 11.95 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.3474, allocations: 4 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.242e-05/0.3474, allocations: 3.984 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.3474, allocations: 4.031 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.3475, allocations: 4 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.583e-05/0.3475, allocations: 91.2 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3475, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002736/0.3478, allocations: 12 kB / 1.329 GB, free: 14.23 MB / 1.029 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.0005723/0.3484, allocations: 0.7024 MB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.3485, allocations: 83.33 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3485, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.776e-05/0.3486, allocations: 55.41 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.3488, allocations: 8 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.3492, allocations: 147 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3495, allocations: 0.6768 MB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.3496, allocations: 15.98 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.3497, allocations: 7.438 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.3497, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.3789, allocations: 1.588 MB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.94, allocations: 4.062 kB / 1.332 GB, free: 10.97 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.87372347479686]