Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.002116/0.002116, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002715/0.002715, allocations: 210.3 kB / 22.25 MB, free: 5.262 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.797 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.31/3.31, allocations: 0.4892 GB / 0.7943 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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [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.002073/0.002073, allocations: 77.22 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3863, allocations: 176.1 MB / 1.326 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0019/0.3882, allocations: 0.6316 MB / 1.326 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004769/0.3887, allocations: 175.6 kB / 1.326 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.3887, allocations: 0 / 1.326 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.3887, allocations: 3.938 kB / 1.326 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.3889, allocations: 15.92 kB / 1.326 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.3891, allocations: 71.75 kB / 1.326 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.948e-05/0.3892, allocations: 19.98 kB / 1.326 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.3892, allocations: 3.984 kB / 1.326 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.366e-05/0.3892, allocations: 23.86 kB / 1.326 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.3893, allocations: 23.91 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.3893, allocations: 4 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3894, allocations: 47.89 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.3895, allocations: 7.922 kB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.3895, allocations: 15.92 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.3897, allocations: 95.66 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3897, allocations: 0 / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3897, allocations: 0 / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3897, allocations: 0 / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005295/0.3902, allocations: 294.1 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3902, allocations: 12.03 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.3903, allocations: 0.9375 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.3904, allocations: 118.4 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.3904, allocations: 4.375 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.3904, allocations: 4.312 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3906, allocations: 62.16 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3906, allocations: 192 / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3906, allocations: 3.938 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3906, allocations: 4 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.3907, allocations: 35.97 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.391, allocations: 196.6 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.3912, allocations: 66.47 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.089e-05/0.3913, allocations: 20.94 kB / 1.327 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.3913, allocations: 7.938 kB / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3913, allocations: 30.56 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3913, allocations: 4 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.02773/0.4191, allocations: 1.609 MB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/0.4191, allocations: 59.39 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.4193, allocations: 121.7 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-05/0.4194, allocations: 25.7 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4195, allocations: 96.08 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.864e-05/0.4196, allocations: 31.73 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.4198, allocations: 25.7 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.42, allocations: 314.8 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005088/0.4205, allocations: 143.9 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/0.421, allocations: 139.9 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009973/0.422, allocations: 301.3 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.422, allocations: 3.938 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001182/0.4232, allocations: 333.5 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.4232, allocations: 4 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4232, allocations: 8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.4232, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.4248, allocations: 63.92 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.4248, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.4262, allocations: 39.95 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/0.4262, allocations: 7.984 kB / 1.331 GB, free: 12.37 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 (9): * Single equations (assignments): 9 * 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.0001991/0.4264, allocations: 117.8 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-05/0.4265, allocations: 3.938 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.4267, allocations: 20.38 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.4267, allocations: 4 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4267, allocations: 432 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4267, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00587/0.4326, allocations: 0.7085 MB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.4326, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.4337, allocations: 51.94 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.4337, allocations: 7.984 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.4338, allocations: 7.984 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.363e-06/0.4338, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4338, allocations: 3.938 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009646/0.4347, allocations: 325.2 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.4347, allocations: 4 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.877e-05/0.4348, allocations: 4 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.4358, allocations: 43.94 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.4359, allocations: 7.938 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.4359, allocations: 3.938 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.658e-05/0.436, allocations: 103.3 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.436, allocations: 0 / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003992/0.4364, allocations: 103.9 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0002553/0.4366, allocations: 115.2 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.4376, allocations: 243.8 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4377, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004102/0.4381, allocations: 92.02 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.4383, allocations: 4 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.4411, allocations: 310.2 kB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.59e-05/0.4412, allocations: 71.41 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004361/0.4417, allocations: 48 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004368/0.4421, allocations: 15.42 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.4421, allocations: 0 / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of Templates: time 0.01689/0.459, allocations: 9.727 MB / 1.343 GB, free: 56 kB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.697834489867091]