Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.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.001593/0.001593, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002012/0.002012, allocations: 210.7 kB / 22.98 MB, free: 4.984 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.584/1.584, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.263/3.263, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") [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.002085/0.002085, allocations: 77.3 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3507, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.0029/0.3536, allocations: 1.486 MB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3551, allocations: 0.7598 MB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.3551, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.3554, allocations: 135.7 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006274/0.3561, allocations: 188.4 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.3562, allocations: 79.73 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.3564, allocations: 71.8 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3565, allocations: 4 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.3565, allocations: 47.88 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.3567, allocations: 91.83 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3567, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004975/0.3572, allocations: 251.6 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.3574, allocations: 111.7 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.161e-05/0.3575, allocations: 63.47 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.358, allocations: 318.7 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.358, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.964e-06/0.358, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.358, allocations: 4 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001043/0.3591, allocations: 0.5119 MB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3591, allocations: 8.031 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.693e-05/0.3592, allocations: 28.75 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005305/0.3597, allocations: 324.7 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3597, allocations: 384 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.3598, allocations: 4.375 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.36, allocations: 85.97 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.36, allocations: 0 / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.36, allocations: 0 / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.36, allocations: 4 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.3603, allocations: 103.9 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006899/0.361, allocations: 408.4 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.3612, allocations: 106.4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.3613, allocations: 60.88 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.983e-05/0.3614, allocations: 15.98 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.3614, allocations: 38.55 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 3.006e-06/0.3614, allocations: 4 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0005547/0.362, allocations: 213.3 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.362, allocations: 51.41 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.3627, allocations: 0.5366 MB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.3628, allocations: 25.7 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.3629, allocations: 152.1 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.3629, allocations: 15.94 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.363, allocations: 37.61 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002811/0.3633, allocations: 354.9 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.3634, allocations: 91.94 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.3636, allocations: 95.88 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.3639, allocations: 182.7 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3639, allocations: 0 / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004739/0.3644, allocations: 265.3 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3644, allocations: 12 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3644, allocations: 0 / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3645, allocations: 0 / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.3646, allocations: 35.97 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3646, allocations: 0 / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.812e-05/0.3647, allocations: 7.938 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.3647, allocations: 4 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.0001814/0.3649, allocations: 174.2 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.3649, allocations: 27.81 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.3653, allocations: 167.9 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3653, allocations: 4 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3653, allocations: 0 / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3653, allocations: 0 / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.3656, allocations: 213.2 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3656, allocations: 3.938 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.3657, allocations: 7.984 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3657, allocations: 0 / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3657, allocations: 8.031 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3657, allocations: 0 / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3657, allocations: 0 / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.3661, allocations: 263.2 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.3662, allocations: 43.73 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.3662, allocations: 0 / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.3663, allocations: 11.98 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.3663, allocations: 0 / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.3664, allocations: 4 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005269/0.3669, allocations: 403.1 kB / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3669, allocations: 4 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003993/0.3673, allocations: 71.94 kB / 1.336 GB, free: 8.031 MB / 1.029 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0003646/0.3676, allocations: 155 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.368, allocations: 161.7 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.368, allocations: 0 / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.3681, allocations: 59.95 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.3685, allocations: 17.44 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008828/0.3694, allocations: 0.5317 MB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.3696, allocations: 170.7 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.322e-05/0.3697, allocations: 30.62 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.3697, allocations: 23.38 kB / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.3698, allocations: 0 / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of Templates: time 0.007476/0.3772, allocations: 3.094 MB / 1.34 GB, free: 3.758 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.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.172409150996828]