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.001401/0.001401, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001535/0.001535, allocations: 216.5 kB / 23 MB, free: 4.969 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.609/1.609, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.362/3.362, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [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.002055/0.002055, allocations: 70.06 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4572/0.4593, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002022/0.4613, allocations: 0.5828 MB / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002874/0.4616, allocations: 31.89 kB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.4616, allocations: 0 / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.92e-05/0.4616, allocations: 4 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.669e-05/0.4617, allocations: 4 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.4619, allocations: 15.97 kB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.264e-05/0.462, allocations: 4 kB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.462, allocations: 0 / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.248e-05/0.4621, allocations: 11.98 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.4621, allocations: 3.938 kB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.4621, allocations: 0 / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.532e-05/0.4622, allocations: 19.92 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.4623, allocations: 8 kB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.4623, allocations: 7.938 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.4624, allocations: 27.89 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.4624, allocations: 4 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4624, allocations: 0 / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4624, allocations: 0 / 1.328 GB, free: 256 kB / 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.0004177/0.4629, allocations: 268.5 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4629, allocations: 15.95 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.4629, allocations: 8.891 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.402e-05/0.463, allocations: 106.5 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.463, allocations: 384 / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.4631, allocations: 8.312 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.4632, allocations: 87.95 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.4632, allocations: 4.125 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4632, allocations: 3.938 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/0.4633, allocations: 7.984 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.878e-05/0.4633, allocations: 49.69 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.4637, allocations: 224.5 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.826e-05/0.4638, allocations: 48.28 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.4638, allocations: 30.56 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.006e-06/0.4639, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.4639, allocations: 38.56 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.4639, allocations: 4 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0002278/0.4641, allocations: 118.8 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.4642, allocations: 81.11 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.4643, allocations: 113.8 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.4643, allocations: 25.7 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.4644, allocations: 107.9 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.243e-06/0.4644, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.4645, allocations: 25.67 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4646, allocations: 326.8 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.967e-05/0.4647, allocations: 29.7 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.263e-05/0.4648, allocations: 96.92 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.4649, allocations: 130.2 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4649, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000193/0.4651, allocations: 152.9 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.4652, allocations: 35.89 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4652, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.4652, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.379e-05/0.4652, allocations: 11.94 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.4653, allocations: 4 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.683e-05/0.4653, allocations: 15.88 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.4654, allocations: 4 kB / 1.33 GB, free: 13.79 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.0001422/0.4655, allocations: 155.7 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.4655, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.4655, allocations: 7.469 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.4655, allocations: 3.984 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.4656, allocations: 3.984 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-06/0.4656, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.4656, allocations: 4 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.4656, allocations: 3.938 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.4657, allocations: 3.938 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002077/0.4659, allocations: 223.8 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002254/0.4661, allocations: 274.2 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.462e-05/0.4661, allocations: 29.7 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.511e-05/0.4662, allocations: 95.2 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of Backend: time 2.81e-07/0.4662, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005654/0.4668, allocations: 184.5 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005654/0.4673, allocations: 0.6144 MB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of Templates: time 0.003295/0.4706, allocations: 0.5933 MB / 1.332 GB, free: 11.45 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 400] 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: 9.518339123002079]