Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001634/0.001634, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001972/0.001972, allocations: 213.5 kB / 23 MB, free: 4.969 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.648/1.648, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.408/3.408, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_12_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_12_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.002093/0.002093, allocations: 72.23 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4074, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002182/0.4096, allocations: 0.614 MB / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002381/0.4119, allocations: 1.385 MB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.412, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.871e-05/0.412, allocations: 3.938 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.4121, allocations: 11.92 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007376/0.4128, allocations: 186.3 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.4129, allocations: 51.89 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.413, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.838e-05/0.413, allocations: 19.98 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.4131, allocations: 27.89 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.4131, allocations: 4 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003807/0.4135, allocations: 219.7 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.4135, allocations: 19.92 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.4136, allocations: 23.86 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.4139, allocations: 191.4 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4139, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4139, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.4139, allocations: 0 / 1.33 GB, free: 14.25 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005705/0.4144, allocations: 367.5 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.4145, allocations: 12.03 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.4145, allocations: 4.891 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.4147, allocations: 130.3 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.4147, allocations: 384 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.4147, allocations: 12.36 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.4149, allocations: 127.7 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.415, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.415, allocations: 4 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.415, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.4151, allocations: 85.66 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.4153, allocations: 129.2 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.4154, allocations: 116.2 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.4155, allocations: 94.58 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.4156, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.4156, allocations: 38.56 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.4156, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004701/0.4161, allocations: 314.5 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.4161, allocations: 81.11 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.4163, allocations: 144 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.4163, allocations: 25.7 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.4164, allocations: 92.08 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.4164, allocations: 23.83 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.4164, allocations: 29.7 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.4166, allocations: 322.8 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.4168, allocations: 171.3 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.417, allocations: 171.4 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.4173, allocations: 285.8 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4173, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004731/0.4178, allocations: 392.2 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.413e-05/0.4179, allocations: 75.38 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4179, allocations: 3.938 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4179, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.4179, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4179, allocations: 3.938 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.4181, allocations: 11.95 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.4181, allocations: 4.062 kB / 1.333 GB, free: 10.73 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: 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 0.0001384/0.4182, allocations: 155.5 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.4182, allocations: 11.94 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.4183, allocations: 8.281 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4183, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4183, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.4183, allocations: 7.953 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.4183, allocations: 0 / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.78e-05/0.4184, allocations: 4 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.4184, allocations: 15.92 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003744/0.4188, allocations: 359.7 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004001/0.4192, allocations: 410.1 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001385/0.4193, allocations: 101.6 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.716e-05/0.4194, allocations: 109.3 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of Backend: time 1.6e-07/0.4194, allocations: 0 / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008467/0.4203, allocations: 452.3 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005978/0.4209, allocations: 0.6456 MB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of Templates: time 0.005625/0.4265, allocations: 2.214 MB / 1.337 GB, free: 6.094 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.535492933995556]