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.001997/0.001997, allocations: 81.42 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.002507/0.002507, allocations: 163.6 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.465/1.465, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.927/2.927, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.638e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001539/0.001565, allocations: 0.5995 MB / 0.9821 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002179/0.001783, allocations: 39.83 kB / 0.9821 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.001805, allocations: 4 kB / 0.9821 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.001838, allocations: 0 / 0.9821 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.319e-05/0.001871, allocations: 0 / 0.9821 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.002058, allocations: 11.98 kB / 0.9821 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.063e-05/0.002129, allocations: 7.938 kB / 0.9821 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.058e-05/0.00216, allocations: 0 / 0.9821 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.413e-05/0.002194, allocations: 7.984 kB / 0.9821 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.002239, allocations: 3.938 kB / 0.9821 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.002255, allocations: 0 / 0.9821 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.002332, allocations: 23.98 kB / 0.9822 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.002362, allocations: 7.984 kB / 0.9822 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.002381, allocations: 0 / 0.9822 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.002486, allocations: 27.91 kB / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.002488, allocations: 0 / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002489, allocations: 0 / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.002492, allocations: 0 / 0.9822 GB, free: 11.2 MB / 0.9356 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.0003457/0.002838, allocations: 283.9 kB / 0.9825 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.002877, allocations: 12.03 kB / 0.9825 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.00291, allocations: 0.9375 kB / 0.9825 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.423e-05/0.002994, allocations: 101.8 kB / 0.9826 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.003005, allocations: 8.375 kB / 0.9826 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.003013, allocations: 384 / 0.9826 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.003166, allocations: 83.94 kB / 0.9827 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.003173, allocations: 192 / 0.9827 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.00318, allocations: 384 / 0.9827 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.003205, allocations: 12.38 kB / 0.9827 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.003277, allocations: 61.55 kB / 0.9827 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.003583, allocations: 204.5 kB / 0.9829 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.55e-05/0.003649, allocations: 48.22 kB / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.003695, allocations: 38.61 kB / 0.983 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.003702, allocations: 0 / 0.983 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.003731, allocations: 38.56 kB / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.003732, allocations: 0 / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001983/0.00393, allocations: 122.7 kB / 0.9832 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.003994, allocations: 77.11 kB / 0.9832 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.004099, allocations: 125.7 kB / 0.9834 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.004117, allocations: 25.7 kB / 0.9834 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.004182, allocations: 95.94 kB / 0.9835 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.004196, allocations: 15.94 kB / 0.9835 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.004238, allocations: 21.72 kB / 0.9835 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.004383, allocations: 310.8 kB / 0.9838 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.246e-05/0.004436, allocations: 45.81 kB / 0.9839 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-05/0.004535, allocations: 92.5 kB / 0.9839 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.004668, allocations: 126.2 kB / 0.9841 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.00467, allocations: 0 / 0.9841 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001881/0.004858, allocations: 156.7 kB / 0.9842 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.004893, allocations: 33.7 kB / 0.9842 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.004897, allocations: 0 / 0.9842 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.00491, allocations: 4 kB / 0.9842 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.004976, allocations: 15.98 kB / 0.9843 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.004984, allocations: 3.938 kB / 0.9843 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.005045, allocations: 4.25 kB / 0.9843 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.005062, allocations: 19.94 kB / 0.9843 GB, free: 8.738 MB / 0.9356 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.0001112/0.005173, allocations: 143.5 kB / 0.9844 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.005204, allocations: 11.89 kB / 0.9844 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.326e-06/0.005212, allocations: 3.469 kB / 0.9844 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.005213, allocations: 0 / 0.9844 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.005216, allocations: 0 / 0.9844 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.005218, allocations: 0 / 0.9844 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.005349, allocations: 109.3 kB / 0.9845 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.00535, allocations: 0 / 0.9845 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-06/0.005353, allocations: 3.938 kB / 0.9845 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.005354, allocations: 4 kB / 0.9846 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.005361, allocations: 0 / 0.9846 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.005362, allocations: 0 / 0.9846 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005362, allocations: 0 / 0.9846 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.005525, allocations: 194.9 kB / 0.9847 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.005534, allocations: 3.938 kB / 0.9847 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.005545, allocations: 0 / 0.9847 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.0056, allocations: 4 kB / 0.9847 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-06/0.00561, allocations: 0 / 0.9847 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.005618, allocations: 4 kB / 0.9848 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.588e-05/0.005703, allocations: 95.33 kB / 0.9848 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.005704, allocations: 4.031 kB / 0.9848 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002519/0.005955, allocations: 8 kB / 0.9849 GB, free: 8.09 MB / 0.9356 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.0001705/0.006126, allocations: 103.8 kB / 0.985 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.006313, allocations: 146.7 kB / 0.9851 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.006314, allocations: 0 / 0.9851 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.794e-05/0.006372, allocations: 81.11 kB / 0.9852 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.006581, allocations: 4.562 kB / 0.9852 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.006845, allocations: 142.6 kB / 0.9853 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.82e-05/0.006913, allocations: 71.19 kB / 0.9854 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.949e-05/0.006983, allocations: 7.984 kB / 0.9854 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.007003, allocations: 12.5 kB / 0.9854 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.007003, allocations: 0 / 0.9854 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of Templates: time 0.002953/0.009956, allocations: 0.5641 MB / 0.9859 GB, free: 6.875 MB / 0.9356 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/jenkins/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: 8.013102527707815]