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.00076/0.00076, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009942/0.001754, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007356/0.0007356, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009944/0.00173, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9959/0.9959, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09554/1.091, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.443/2.443, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2458/2.688, allocations: 145.9 MB / 0.817 GB, free: 4.234 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 2.665e-06/2.665e-06, allocations: 4 kB / 0.8183 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.456e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001556/0.00158, allocations: 0.6578 MB / 0.819 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001124/0.001693, allocations: 35.88 kB / 0.819 GB, free: 2.168 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.001711, allocations: 0 / 0.819 GB, free: 2.168 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.001727, allocations: 7.938 kB / 0.819 GB, free: 2.16 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.962e-05/0.001747, allocations: 0 / 0.819 GB, free: 2.16 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.995e-05/0.001847, allocations: 11.98 kB / 0.819 GB, free: 2.148 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.463e-05/0.001922, allocations: 3.938 kB / 0.819 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.001958, allocations: 4 kB / 0.8191 GB, free: 2.141 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.001999, allocations: 4 kB / 0.8191 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/0.002047, allocations: 7.984 kB / 0.8191 GB, free: 2.129 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.002061, allocations: 4 kB / 0.8191 GB, free: 2.125 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.316e-05/0.002154, allocations: 15.98 kB / 0.8191 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.002184, allocations: 7.984 kB / 0.8191 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.002202, allocations: 3.938 kB / 0.8191 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.488e-05/0.002297, allocations: 27.92 kB / 0.8191 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.498e-05/0.002312, allocations: 0 / 0.8191 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.52e-07/0.002313, allocations: 0 / 0.8191 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.002329, allocations: 0 / 0.8191 GB, free: 2.07 MB / 0.7917 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.0003172/0.002646, allocations: 254.3 kB / 0.8194 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.002681, allocations: 12.56 kB / 0.8194 GB, free: 1.777 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.002713, allocations: 8.938 kB / 0.8194 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.393e-05/0.002777, allocations: 105.8 kB / 0.8195 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.002788, allocations: 4.375 kB / 0.8195 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.002795, allocations: 384 / 0.8195 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.002912, allocations: 70.78 kB / 0.8196 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.002918, allocations: 192 / 0.8196 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.002925, allocations: 4.312 kB / 0.8196 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.169e-05/0.002957, allocations: 8.375 kB / 0.8196 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.115e-05/0.002998, allocations: 45.56 kB / 0.8196 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.003234, allocations: 173.8 kB / 0.8198 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.8e-05/0.003282, allocations: 44.28 kB / 0.8198 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.003301, allocations: 34.56 kB / 0.8199 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-06/0.003305, allocations: 0 / 0.8199 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.003331, allocations: 42.56 kB / 0.8199 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.003332, allocations: 0 / 0.8199 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001281/0.003461, allocations: 118.7 kB / 0.82 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.003483, allocations: 51.41 kB / 0.8201 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.329e-05/0.003546, allocations: 118.8 kB / 0.8202 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.003556, allocations: 25.7 kB / 0.8202 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.003594, allocations: 103.9 kB / 0.8203 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.357e-06/0.003604, allocations: 8 kB / 0.8203 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.003631, allocations: 25.78 kB / 0.8203 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.003697, allocations: 318.8 kB / 0.8206 GB, free: 332 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.003714, allocations: 29.7 kB / 0.8207 GB, free: 296 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.826e-05/0.003752, allocations: 84.88 kB / 0.8207 GB, free: 180 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.53e-05/0.003817, allocations: 129 kB / 0.8209 GB, free: 12 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.003819, allocations: 0 / 0.8209 GB, free: 12 kB / 0.7917 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.835e-05/0.003918, allocations: 132.8 kB / 0.821 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.003947, allocations: 29.7 kB / 0.821 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.003953, allocations: 4 kB / 0.821 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.627e-06/0.003961, allocations: 0 / 0.821 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.112e-05/0.004013, allocations: 15.94 kB / 0.821 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.004018, allocations: 12.39 kB / 0.821 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.004066, allocations: 11.94 kB / 0.8211 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.004077, allocations: 4 kB / 0.8211 GB, free: 15.78 MB / 0.8073 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 5.787e-05/0.004135, allocations: 138.4 kB / 0.8212 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.00415, allocations: 7.938 kB / 0.8212 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.133e-05/0.004162, allocations: 3.469 kB / 0.8212 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.004163, allocations: 0 / 0.8212 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.004166, allocations: 3.984 kB / 0.8212 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.004168, allocations: 0 / 0.8212 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.437e-05/0.004232, allocations: 65.89 kB / 0.8213 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.004235, allocations: 11.94 kB / 0.8213 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-07/0.004235, allocations: 0 / 0.8213 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.004245, allocations: 11.95 kB / 0.8213 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.004247, allocations: 3.938 kB / 0.8213 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-06/0.00425, allocations: 3.938 kB / 0.8213 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.004252, allocations: 3.984 kB / 0.8213 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.004253, allocations: 0 / 0.8213 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.119e-05/0.004334, allocations: 186.9 kB / 0.8215 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-06/0.004341, allocations: 0 / 0.8215 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.162e-05/0.004373, allocations: 7.938 kB / 0.8215 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-06/0.00438, allocations: 32 / 0.8215 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.004384, allocations: 4 kB / 0.8215 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.051e-05/0.004394, allocations: 12.86 kB / 0.8215 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004394, allocations: 0 / 0.8215 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001386/0.004533, allocations: 8 kB / 0.8215 GB, free: 15.25 MB / 0.8073 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 9.717e-05/0.00463, allocations: 90.66 kB / 0.8216 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.004735, allocations: 143.5 kB / 0.8217 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.004739, allocations: 0.5 kB / 0.8217 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.834e-05/0.004767, allocations: 93.95 kB / 0.8218 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.653e-05/0.004864, allocations: 8 kB / 0.8218 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.005063, allocations: 133.1 kB / 0.822 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.856e-05/0.005092, allocations: 55.36 kB / 0.822 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.135e-05/0.005113, allocations: 3.984 kB / 0.822 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.005159, allocations: 59.44 kB / 0.8221 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.00516, allocations: 0 / 0.8221 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of Templates: time 0.002006/0.007166, allocations: 0.6107 MB / 0.8227 GB, free: 13.96 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2689562337473035]