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.001313/0.001313, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001567/0.001567, allocations: 165.2 kB / 22.46 MB, free: 5.359 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.448/1.448, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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 2.892/2.892, allocations: 389 MB / 0.633 GB, free: 1.047 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.71e-05, allocations: 2.281 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001632/0.00166, allocations: 0.6091 MB / 1.001 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002321/0.001892, allocations: 39.83 kB / 1.001 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.001915, allocations: 0 / 1.001 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.001946, allocations: 0 / 1.001 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.09e-05/0.001977, allocations: 0 / 1.001 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.002171, allocations: 11.92 kB / 1.001 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.152e-05/0.002242, allocations: 8 kB / 1.001 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.002281, allocations: 7.984 kB / 1.001 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.15e-05/0.002312, allocations: 4 kB / 1.001 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.348e-05/0.002356, allocations: 0 / 1.001 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.00237, allocations: 0 / 1.001 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.977e-05/0.00245, allocations: 15.98 kB / 1.001 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.002494, allocations: 11.92 kB / 1.001 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.00252, allocations: 0 / 1.001 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.002624, allocations: 27.97 kB / 1.001 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002626, allocations: 0 / 1.001 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.32e-07/0.002627, allocations: 0 / 1.001 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.00263, allocations: 0 / 1.001 GB, free: 6.535 MB / 0.9512 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.0003404/0.00297, allocations: 284 kB / 1.001 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.003004, allocations: 8.031 kB / 1.001 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.003042, allocations: 0.9375 kB / 1.001 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.981e-05/0.003132, allocations: 113.7 kB / 1.001 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.003145, allocations: 384 / 1.001 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.003154, allocations: 4.312 kB / 1.001 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.003298, allocations: 83.94 kB / 1.001 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.003307, allocations: 192 / 1.001 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.00332, allocations: 4.375 kB / 1.001 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.003343, allocations: 4.375 kB / 1.001 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.09e-05/0.003414, allocations: 61.61 kB / 1.001 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.003722, allocations: 212.5 kB / 1.002 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.756e-05/0.00379, allocations: 52.14 kB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.003824, allocations: 34.62 kB / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.003832, allocations: 0 / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.003861, allocations: 30.56 kB / 1.002 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 3.035e-06/0.003864, allocations: 3.984 kB / 1.002 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0002049/0.004069, allocations: 126.8 kB / 1.002 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.004128, allocations: 81.05 kB / 1.002 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.004228, allocations: 117.8 kB / 1.002 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.004247, allocations: 29.83 kB / 1.002 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.004309, allocations: 107.9 kB / 1.002 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-06/0.004317, allocations: 3.984 kB / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.00436, allocations: 25.67 kB / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.004488, allocations: 314.8 kB / 1.003 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.226e-05/0.00453, allocations: 37.69 kB / 1.003 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/0.004605, allocations: 84.56 kB / 1.003 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.004731, allocations: 134.1 kB / 1.003 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.004733, allocations: 0 / 1.003 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001838/0.004917, allocations: 152.8 kB / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.004948, allocations: 29.7 kB / 1.003 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.004956, allocations: 8.25 kB / 1.003 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.00497, allocations: 0 / 1.003 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.005038, allocations: 15.98 kB / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.005044, allocations: 4 kB / 1.003 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.00511, allocations: 7.953 kB / 1.003 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.005125, allocations: 4 kB / 1.003 GB, free: 4.078 MB / 0.9512 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.0001079/0.005233, allocations: 151.4 kB / 1.003 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.005262, allocations: 7.938 kB / 1.003 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.139e-05/0.005274, allocations: 3.469 kB / 1.003 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.005277, allocations: 4 kB / 1.003 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.005282, allocations: 11.94 kB / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.005284, allocations: 0 / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.00541, allocations: 105.3 kB / 1.003 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.005411, allocations: 0 / 1.003 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-06/0.005414, allocations: 7.875 kB / 1.003 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.005415, allocations: 0 / 1.003 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.005422, allocations: 0 / 1.003 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.005423, allocations: 0 / 1.003 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005424, allocations: 4 kB / 1.003 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.005571, allocations: 187 kB / 1.003 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.005582, allocations: 7.891 kB / 1.003 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.005596, allocations: 8.031 kB / 1.003 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.717e-05/0.005653, allocations: 3.938 kB / 1.003 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.03e-05/0.005664, allocations: 0 / 1.003 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.005672, allocations: 4 kB / 1.003 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.834e-05/0.00573, allocations: 95.33 kB / 1.004 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.00573, allocations: 0 / 1.004 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002513/0.005981, allocations: 8 kB / 1.004 GB, free: 3.406 MB / 0.9512 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.0001691/0.006151, allocations: 107.2 kB / 1.004 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.006331, allocations: 142.7 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006333, allocations: 0 / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.252e-05/0.006386, allocations: 81.11 kB / 1.004 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.006595, allocations: 10.19 kB / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.006862, allocations: 134.6 kB / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.865e-05/0.00693, allocations: 71.28 kB / 1.004 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.017e-05/0.007, allocations: 12.55 kB / 1.004 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.007018, allocations: 12.5 kB / 1.004 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.007019, allocations: 0 / 1.004 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of Templates: time 0.003149/0.01017, allocations: 0.5497 MB / 1.005 GB, free: 2.207 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins/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: 8.198660660535097]