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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 190.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.174/3.174, allocations: 496 MB / 0.7835 GB, free: 33.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 69.3 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3263, allocations: 173.6 MB / 1.307 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001789/0.3281, allocations: 0.6351 MB / 1.308 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.33, allocations: 1.4 MB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.402e-05/0.3301, allocations: 3.938 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.582e-05/0.3301, allocations: 7.922 kB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.656e-05/0.3302, allocations: 4 kB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006715/0.3308, allocations: 179.6 kB / 1.309 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.331, allocations: 55.81 kB / 1.31 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.331, allocations: 0 / 1.31 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.667e-05/0.331, allocations: 19.98 kB / 1.31 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.3311, allocations: 27.91 kB / 1.31 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3311, allocations: 8 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004128/0.3315, allocations: 223.7 kB / 1.31 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.3316, allocations: 11.94 kB / 1.31 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.3316, allocations: 23.86 kB / 1.31 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.3319, allocations: 191.4 kB / 1.31 GB, free: 14.94 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3319, allocations: 0 / 1.31 GB, free: 14.94 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3319, allocations: 0 / 1.31 GB, free: 14.94 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3319, allocations: 0 / 1.31 GB, free: 14.94 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005048/0.3324, allocations: 369.2 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3325, allocations: 8.922 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.3325, allocations: 12.89 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.3326, allocations: 114.4 kB / 1.311 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3326, allocations: 4.375 kB / 1.311 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.3327, allocations: 4.375 kB / 1.311 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.3329, allocations: 101.9 kB / 1.311 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3329, allocations: 0 / 1.311 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3329, allocations: 4 kB / 1.311 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3329, allocations: 3.938 kB / 1.311 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.575e-05/0.333, allocations: 59.95 kB / 1.311 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.3332, allocations: 148.7 kB / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.3333, allocations: 78.47 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.973e-05/0.3334, allocations: 64.89 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.3334, allocations: 3.984 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.3334, allocations: 34.5 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.3334, allocations: 0 / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004346/0.3339, allocations: 255.2 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.3339, allocations: 85.14 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3341, allocations: 148.7 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.3341, allocations: 29.7 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.3342, allocations: 92.09 kB / 1.312 GB, free: 13.17 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.3342, allocations: 15.83 kB / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.3343, allocations: 25.72 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3344, allocations: 326.8 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.3345, allocations: 103.9 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.3347, allocations: 107.9 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.335, allocations: 269.9 kB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.335, allocations: 0 / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003992/0.3354, allocations: 324.8 kB / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.3354, allocations: 71.39 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3355, allocations: 0 / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3355, allocations: 0 / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.3355, allocations: 3.938 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3355, allocations: 0 / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.3356, allocations: 20 kB / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.3356, allocations: 4 kB / 1.313 GB, free: 11.86 MB / 1.014 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.0001371/0.3358, allocations: 152.3 kB / 1.313 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.3358, allocations: 11.89 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.747e-05/0.3358, allocations: 8.344 kB / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.3358, allocations: 0 / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3358, allocations: 4 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.3358, allocations: 0 / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.3359, allocations: 144.7 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3359, allocations: 4 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-06/0.3359, allocations: 7.875 kB / 1.313 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.3359, allocations: 0 / 1.313 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.336, allocations: 4 kB / 1.313 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.336, allocations: 0 / 1.313 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.336, allocations: 0 / 1.313 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.3363, allocations: 230.6 kB / 1.313 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.3363, allocations: 11.83 kB / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.3363, allocations: 7.984 kB / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.3364, allocations: 12.03 kB / 1.313 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.3364, allocations: 7.984 kB / 1.313 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.3364, allocations: 0 / 1.313 GB, free: 11.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.598e-05/0.3365, allocations: 107.3 kB / 1.313 GB, free: 11.07 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3365, allocations: 0 / 1.313 GB, free: 11.07 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003016/0.3368, allocations: 63.92 kB / 1.314 GB, free: 11.01 MB / 1.014 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.0003036/0.3371, allocations: 147.1 kB / 1.314 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000424/0.3375, allocations: 330.6 kB / 1.314 GB, free: 10.51 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3375, allocations: 4 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.3377, allocations: 119.3 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.3378, allocations: 10.19 kB / 1.314 GB, free: 10.37 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.3382, allocations: 217.3 kB / 1.314 GB, free: 10.13 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.3386, allocations: 0.6885 MB / 1.315 GB, free: 9.414 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.1e-06/0.3386, allocations: 0 / 1.315 GB, free: 9.414 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.325e-05/0.3386, allocations: 11.38 kB / 1.315 GB, free: 9.402 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.3386, allocations: 4.125 kB / 1.315 GB, free: 9.398 MB / 1.014 GB Notification: Performance of Templates: time 0.005098/0.3437, allocations: 2.088 MB / 1.317 GB, free: 7.32 MB / 1.014 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/jenkins/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: 8.829069497063756]