Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.001306/0.001306, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001368/0.001368, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.403/1.403, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] 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.856/2.856, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [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.002159/0.002159, allocations: 71.88 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7864/0.7886, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001533/0.7901, allocations: 0.6304 MB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.7916, allocations: 1.375 MB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.7916, allocations: 0.9375 kB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.755e-05/0.7916, allocations: 8.641 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.266e-05/0.7917, allocations: 2.578 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006156/0.7923, allocations: 195.4 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.7924, allocations: 44.28 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.7924, allocations: 2.641 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.451e-05/0.7925, allocations: 18.36 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.759e-05/0.7925, allocations: 33.14 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.7925, allocations: 2.375 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003749/0.7929, allocations: 210 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.862e-05/0.7929, allocations: 21.27 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.793, allocations: 17.48 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.7933, allocations: 183.6 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.7933, allocations: 0 / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7933, allocations: 1.219 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.7933, allocations: 0 / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000307/0.7936, allocations: 373.9 kB / 1.19 GB, free: 14.28 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.7936, allocations: 13.41 kB / 1.19 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.7936, allocations: 8.703 kB / 1.19 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.206e-05/0.7937, allocations: 117.7 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.7937, allocations: 5.656 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.7937, allocations: 2.969 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.7939, allocations: 126.7 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.7939, allocations: 0 / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.7939, allocations: 1.094 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.7939, allocations: 0.5156 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.7e-05/0.794, allocations: 96.48 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.397e-05/0.7941, allocations: 115.3 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.7942, allocations: 116.2 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.608e-05/0.7943, allocations: 93.3 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.7943, allocations: 1.125 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.17e-05/0.7943, allocations: 32.8 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.7943, allocations: 0 / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0003615/0.7947, allocations: 320.8 kB / 1.191 GB, free: 13.59 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.7947, allocations: 80.83 kB / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.098e-05/0.7948, allocations: 144.5 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.7948, allocations: 31.52 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.7948, allocations: 92.36 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.7949, allocations: 27.41 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.7949, allocations: 28.55 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.74e-05/0.7949, allocations: 320.2 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.7951, allocations: 169.3 kB / 1.192 GB, free: 12.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.7952, allocations: 169 kB / 1.192 GB, free: 12.74 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.7955, allocations: 286.2 kB / 1.192 GB, free: 12.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7955, allocations: 4.656 kB / 1.192 GB, free: 12.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000346/0.7958, allocations: 389.2 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.365e-05/0.7959, allocations: 76.02 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.7959, allocations: 0 / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.7959, allocations: 5.25 kB / 1.192 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.472e-06/0.7959, allocations: 0.5625 kB / 1.192 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.7959, allocations: 0 / 1.192 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.413e-05/0.796, allocations: 19.42 kB / 1.192 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.796, allocations: 11.12 kB / 1.192 GB, free: 12.31 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.994e-05/0.7961, allocations: 148.5 kB / 1.193 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.7961, allocations: 11.88 kB / 1.193 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.203e-05/0.7961, allocations: 7.234 kB / 1.193 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.7961, allocations: 0.75 kB / 1.193 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.7961, allocations: 1.094 kB / 1.193 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.7961, allocations: 4 kB / 1.193 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.791e-05/0.7962, allocations: 118.5 kB / 1.193 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7962, allocations: 0.7031 kB / 1.193 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.7962, allocations: 1.031 kB / 1.193 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.7962, allocations: 0 / 1.193 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.7962, allocations: 6.859 kB / 1.193 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.7962, allocations: 1.062 kB / 1.193 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7962, allocations: 0 / 1.193 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.7964, allocations: 263.6 kB / 1.193 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.7964, allocations: 5.891 kB / 1.193 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.7965, allocations: 6.656 kB / 1.193 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.818e-05/0.7965, allocations: 8.609 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.7966, allocations: 6.625 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.7966, allocations: 2.531 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.152e-05/0.7966, allocations: 112.6 kB / 1.193 GB, free: 11.76 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.7966, allocations: 0 / 1.193 GB, free: 11.76 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002918/0.7969, allocations: 66.03 kB / 1.193 GB, free: 11.75 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * 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.0002205/0.7971, allocations: 145.8 kB / 1.193 GB, free: 11.65 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003649/0.7975, allocations: 418.5 kB / 1.194 GB, free: 11.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7975, allocations: 1.188 kB / 1.194 GB, free: 11.4 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.7976, allocations: 162.3 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.7978, allocations: 12.25 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.7981, allocations: 241.6 kB / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.973e-05/0.7981, allocations: 79.2 kB / 1.194 GB, free: 11.05 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.648e-06/0.7981, allocations: 3.938 kB / 1.194 GB, free: 11.04 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-06/0.7981, allocations: 9.812 kB / 1.194 GB, free: 11.04 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.7981, allocations: 0 / 1.194 GB, free: 11.04 MB / 1.076 GB Notification: Performance of Templates: time 0.005068/0.8032, allocations: 2.14 MB / 1.196 GB, free: 10.83 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.314829316921532]