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.001677/0.001677, allocations: 111.1 kB / 17.13 MB, free: 5.926 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.002097/0.002097, allocations: 205 kB / 20.09 MB, free: 2.977 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.535/1.535, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.269/3.269, allocations: 0.49 GB / 0.7923 GB, free: 1.262 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.002118/0.002118, allocations: 74.09 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.121/1.123, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001654/1.125, allocations: 0.6223 MB / 1.323 GB, free: 24.65 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001577/1.127, allocations: 1.446 MB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/1.127, allocations: 0 / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.642e-05/1.127, allocations: 0 / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/1.127, allocations: 10.33 kB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/1.127, allocations: 179.5 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/1.127, allocations: 55.34 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/1.128, allocations: 0 / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.492e-05/1.128, allocations: 22.7 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/1.128, allocations: 26.47 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/1.128, allocations: 3.031 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/1.128, allocations: 208 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/1.128, allocations: 11.91 kB / 1.325 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/1.128, allocations: 28.72 kB / 1.325 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/1.128, allocations: 183.9 kB / 1.325 GB, free: 23.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.128, allocations: 3.281 kB / 1.325 GB, free: 23.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.374e-06/1.128, allocations: 2.812 kB / 1.325 GB, free: 23.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.829e-06/1.128, allocations: 0 / 1.325 GB, free: 23.39 MB / 1.061 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.0003751/1.129, allocations: 443.5 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/1.129, allocations: 11.95 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/1.129, allocations: 6.094 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.29e-05/1.129, allocations: 178.8 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/1.129, allocations: 6.875 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/1.129, allocations: 10.97 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/1.129, allocations: 98.53 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.129, allocations: 3.938 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/1.129, allocations: 0 / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/1.129, allocations: 0 / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.607e-05/1.129, allocations: 59.78 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/1.129, allocations: 178.2 kB / 1.326 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/1.129, allocations: 80.56 kB / 1.326 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.19e-05/1.129, allocations: 65.92 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/1.129, allocations: 0 / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/1.129, allocations: 37.16 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/1.129, allocations: 0 / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003337/1.13, allocations: 250 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/1.13, allocations: 87.2 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.006e-05/1.13, allocations: 141 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/1.13, allocations: 33.67 kB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/1.13, allocations: 92.66 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/1.13, allocations: 16.25 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/1.13, allocations: 31.66 kB / 1.326 GB, free: 21.92 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.115e-05/1.13, allocations: 317.5 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/1.13, allocations: 102.7 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/1.13, allocations: 101.3 kB / 1.327 GB, free: 21.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/1.131, allocations: 274.1 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.131, allocations: 4.031 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004113/1.131, allocations: 327.2 kB / 1.328 GB, free: 21.31 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/1.131, allocations: 66.64 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.131, allocations: 4.062 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/1.131, allocations: 0.875 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/1.131, allocations: 0 / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/1.131, allocations: 0.75 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/1.131, allocations: 17.42 kB / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/1.131, allocations: 3.656 kB / 1.328 GB, free: 21.24 MB / 1.061 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 8.49e-05/1.131, allocations: 157.4 kB / 1.328 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/1.131, allocations: 11.73 kB / 1.328 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.45e-05/1.131, allocations: 6.062 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.131, allocations: 0.5 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/1.131, allocations: 4 kB / 1.328 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/1.131, allocations: 0.8125 kB / 1.328 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.704e-05/1.131, allocations: 174.2 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.131, allocations: 0.5625 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/1.131, allocations: 3.938 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/1.131, allocations: 0.8125 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/1.131, allocations: 6.719 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/1.131, allocations: 0 / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.131, allocations: 3.938 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/1.132, allocations: 228.1 kB / 1.328 GB, free: 20.74 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/1.132, allocations: 86.84 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/1.132, allocations: 2.438 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.999e-05/1.132, allocations: 10.17 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/1.132, allocations: 11.62 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/1.132, allocations: 6.281 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.84e-05/1.132, allocations: 116.9 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.132, allocations: 0 / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003126/1.132, allocations: 63.03 kB / 1.328 GB, free: 20.53 MB / 1.061 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.0002794/1.133, allocations: 152 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003982/1.133, allocations: 328.8 kB / 1.329 GB, free: 20.28 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.133, allocations: 0 / 1.329 GB, free: 20.28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/1.133, allocations: 123.8 kB / 1.329 GB, free: 20.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/1.133, allocations: 7.875 kB / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/1.134, allocations: 244.7 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/1.134, allocations: 0.6951 MB / 1.33 GB, free: 19.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.005e-05/1.134, allocations: 7.438 kB / 1.33 GB, free: 19.34 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.134, allocations: 0.5938 kB / 1.33 GB, free: 19.34 MB / 1.061 GB Notification: Performance of Templates: time 0.004121/1.138, allocations: 1.674 MB / 1.332 GB, free: 19.19 MB / 1.061 GB " [Timeout remaining time 299] 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: 12.737641473999247]