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.001242/0.001242, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001907/0.003149, allocations: 449.7 kB / 10.37 MB, free: 328 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.001266/0.001266, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001621/0.002886, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.008/1.008, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1006/1.108, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.889/1.889, allocations: 378.2 MB / 0.6076 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5253/2.414, allocations: 123.3 MB / 0.728 GB, free: 5.852 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.583e-06/1.583e-06, allocations: 0.875 kB / 0.7294 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.959e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001198/0.001218, allocations: 0.653 MB / 0.73 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 8.82e-05/0.001306, allocations: 28.97 kB / 0.7301 GB, free: 3.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.862e-05/0.001325, allocations: 4 kB / 0.7301 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.001342, allocations: 1.062 kB / 0.7301 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.867e-05/0.00136, allocations: 0 / 0.7301 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.001465, allocations: 17.64 kB / 0.7301 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.337e-05/0.001538, allocations: 4.75 kB / 0.7301 GB, free: 3.816 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.25e-05/0.001571, allocations: 4.766 kB / 0.7301 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.95e-05/0.00161, allocations: 8.766 kB / 0.7301 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.001654, allocations: 4.672 kB / 0.7301 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.001667, allocations: 0.9844 kB / 0.7301 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.578e-05/0.001753, allocations: 20.75 kB / 0.7301 GB, free: 3.781 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.001778, allocations: 4.656 kB / 0.7301 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.001794, allocations: 10.52 kB / 0.7301 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.573e-05/0.00188, allocations: 21.56 kB / 0.7302 GB, free: 3.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.387e-05/0.001894, allocations: 0 / 0.7302 GB, free: 3.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.253e-06/0.001895, allocations: 1.469 kB / 0.7302 GB, free: 3.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.001909, allocations: 0 / 0.7302 GB, free: 3.75 MB / 0.698 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.0002723/0.002181, allocations: 259.4 kB / 0.7304 GB, free: 3.465 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.002211, allocations: 8.031 kB / 0.7304 GB, free: 3.457 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.002234, allocations: 6.031 kB / 0.7304 GB, free: 3.453 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.066e-05/0.002285, allocations: 101.8 kB / 0.7305 GB, free: 3.328 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.002295, allocations: 4.375 kB / 0.7305 GB, free: 3.324 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-06/0.002301, allocations: 1.344 kB / 0.7305 GB, free: 3.324 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.397e-05/0.002395, allocations: 70.72 kB / 0.7306 GB, free: 3.242 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.002401, allocations: 1.094 kB / 0.7306 GB, free: 3.242 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.002406, allocations: 1.797 kB / 0.7306 GB, free: 3.242 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.002433, allocations: 12.36 kB / 0.7306 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.832e-05/0.002462, allocations: 42.94 kB / 0.7306 GB, free: 3.184 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.002675, allocations: 173.8 kB / 0.7308 GB, free: 2.996 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.002715, allocations: 52.2 kB / 0.7309 GB, free: 2.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.379e-05/0.002729, allocations: 32.34 kB / 0.7309 GB, free: 2.891 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-06/0.002732, allocations: 64 / 0.7309 GB, free: 2.891 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.002752, allocations: 38.5 kB / 0.7309 GB, free: 2.844 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.002753, allocations: 0 / 0.7309 GB, free: 2.844 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001146/0.002867, allocations: 120.8 kB / 0.731 GB, free: 2.703 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.002891, allocations: 51.41 kB / 0.7311 GB, free: 2.641 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/0.002952, allocations: 122.8 kB / 0.7312 GB, free: 2.508 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.002961, allocations: 25.7 kB / 0.7312 GB, free: 2.477 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.003, allocations: 104.8 kB / 0.7313 GB, free: 2.371 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/0.003007, allocations: 5.594 kB / 0.7313 GB, free: 2.367 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.003037, allocations: 33.64 kB / 0.7314 GB, free: 2.328 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.003119, allocations: 310.8 kB / 0.7317 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.003137, allocations: 33.69 kB / 0.7317 GB, free: 1.977 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.034e-05/0.003177, allocations: 81.38 kB / 0.7318 GB, free: 1.867 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.793e-05/0.003245, allocations: 127.9 kB / 0.7319 GB, free: 1.707 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.003247, allocations: 0 / 0.7319 GB, free: 1.707 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.907e-05/0.003337, allocations: 139.3 kB / 0.732 GB, free: 1.555 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.003371, allocations: 34.56 kB / 0.7321 GB, free: 1.516 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.003378, allocations: 4 kB / 0.7321 GB, free: 1.512 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.003386, allocations: 0.9062 kB / 0.7321 GB, free: 1.512 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.433e-05/0.00344, allocations: 12 kB / 0.7321 GB, free: 1.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.003444, allocations: 4 kB / 0.7321 GB, free: 1.496 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.003488, allocations: 8.625 kB / 0.7321 GB, free: 1.488 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.0035, allocations: 4 kB / 0.7321 GB, free: 1.484 MB / 0.698 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 6.514e-05/0.003565, allocations: 152 kB / 0.7322 GB, free: 1.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.003579, allocations: 8.812 kB / 0.7322 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.302e-05/0.003592, allocations: 3.469 kB / 0.7322 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.003593, allocations: 0 / 0.7322 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.003594, allocations: 0.625 kB / 0.7322 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.003597, allocations: 0.5938 kB / 0.7322 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.293e-05/0.00367, allocations: 69.88 kB / 0.7323 GB, free: 1.219 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.003671, allocations: 0.75 kB / 0.7323 GB, free: 1.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-06/0.003673, allocations: 4 kB / 0.7323 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-06/0.00368, allocations: 5.469 kB / 0.7323 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.003682, allocations: 3.938 kB / 0.7323 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-06/0.003686, allocations: 0.75 kB / 0.7323 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.003687, allocations: 0 / 0.7323 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.003689, allocations: 2.188 kB / 0.7323 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.815e-05/0.003787, allocations: 190.4 kB / 0.7325 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-06/0.003795, allocations: 4 kB / 0.7325 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.368e-05/0.003829, allocations: 4.594 kB / 0.7325 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.00384, allocations: 7.984 kB / 0.7325 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.003844, allocations: 5.688 kB / 0.7325 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.416e-05/0.003858, allocations: 8.859 kB / 0.7325 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.003858, allocations: 0 / 0.7325 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001413/0.003999, allocations: 8 kB / 0.7325 GB, free: 0.957 MB / 0.698 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.0001213/0.004121, allocations: 96.17 kB / 0.7326 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.00423, allocations: 135.6 kB / 0.7328 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.004234, allocations: 0 / 0.7328 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.714e-05/0.004261, allocations: 92.72 kB / 0.7329 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.988e-05/0.004361, allocations: 4 kB / 0.7329 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001919/0.004553, allocations: 133.3 kB / 0.733 GB, free: 432 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.263e-05/0.004586, allocations: 59.34 kB / 0.733 GB, free: 352 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.833e-05/0.004604, allocations: 1.297 kB / 0.733 GB, free: 352 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.00465, allocations: 64.92 kB / 0.7331 GB, free: 288 kB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/0.004651, allocations: 0 / 0.7331 GB, free: 288 kB / 0.698 GB Notification: Performance of Templates: time 0.002404/0.007055, allocations: 0.6148 MB / 0.7337 GB, free: 15.7 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration/Buildings_12_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.1068623550236225]