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.001375/0.001375, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001521/0.001521, allocations: 163 kB / 22.46 MB, free: 5.375 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.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.853/2.853, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/1.973e-05, allocations: 6.219 kB / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001536/0.001555, allocations: 0.6135 MB / 0.9821 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.003656, allocations: 1.389 MB / 0.9834 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.003677, allocations: 0 / 0.9834 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.629e-05/0.003723, allocations: 0 / 0.9834 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.608e-05/0.003759, allocations: 11.88 kB / 0.9835 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000637/0.004396, allocations: 183.5 kB / 0.9836 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.004507, allocations: 51.84 kB / 0.9837 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.365e-05/0.004541, allocations: 7.984 kB / 0.9837 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.519e-05/0.004596, allocations: 23.97 kB / 0.9837 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.872e-05/0.004665, allocations: 23.97 kB / 0.9837 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.00468, allocations: 0 / 0.9837 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.005074, allocations: 219.5 kB / 0.9839 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.229e-05/0.005116, allocations: 7.984 kB / 0.984 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.005152, allocations: 15.94 kB / 0.984 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.005513, allocations: 231.5 kB / 0.9842 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005516, allocations: 4 kB / 0.9842 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005517, allocations: 0 / 0.9842 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.005524, allocations: 0 / 0.9842 GB, free: 9.145 MB / 0.9356 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.0004275/0.005952, allocations: 369.2 kB / 0.9845 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.005985, allocations: 8.031 kB / 0.9845 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.006016, allocations: 8.891 kB / 0.9846 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.006147, allocations: 125.7 kB / 0.9847 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.006159, allocations: 384 / 0.9847 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.006175, allocations: 4.375 kB / 0.9847 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.006375, allocations: 123.8 kB / 0.9848 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.006382, allocations: 192 / 0.9848 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.006392, allocations: 4.375 kB / 0.9848 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.006397, allocations: 7.938 kB / 0.9848 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.006512, allocations: 89.66 kB / 0.9849 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.006648, allocations: 117.3 kB / 0.985 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.006788, allocations: 108.3 kB / 0.9851 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.006904, allocations: 94.55 kB / 0.9852 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-06/0.006911, allocations: 0 / 0.9852 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.00694, allocations: 38.56 kB / 0.9852 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 2.816e-06/0.006942, allocations: 7.922 kB / 0.9852 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0004772/0.00742, allocations: 310.6 kB / 0.9855 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.00748, allocations: 89.08 kB / 0.9856 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.007615, allocations: 147.9 kB / 0.9858 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.007643, allocations: 25.7 kB / 0.9858 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.0077, allocations: 92.09 kB / 0.9859 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.007723, allocations: 15.89 kB / 0.9859 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.007776, allocations: 29.7 kB / 0.9859 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.007917, allocations: 318.8 kB / 0.9862 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.008103, allocations: 163.3 kB / 0.9864 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.008281, allocations: 171.3 kB / 0.9865 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.008596, allocations: 285.8 kB / 0.9868 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.008598, allocations: 0 / 0.9868 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004374/0.009036, allocations: 396.3 kB / 0.9872 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.165e-05/0.009097, allocations: 75.31 kB / 0.9873 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.009101, allocations: 0 / 0.9873 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.009114, allocations: 0 / 0.9873 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.839e-06/0.009119, allocations: 3.938 kB / 0.9873 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.009123, allocations: 0 / 0.9873 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.00925, allocations: 15.89 kB / 0.9873 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.009265, allocations: 4 kB / 0.9873 GB, free: 5.652 MB / 0.9356 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.0001207/0.009386, allocations: 151.5 kB / 0.9874 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.009404, allocations: 7.969 kB / 0.9874 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.149e-05/0.009416, allocations: 12.34 kB / 0.9875 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.009417, allocations: 0 / 0.9875 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.009423, allocations: 3.938 kB / 0.9875 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-06/0.009425, allocations: 0 / 0.9875 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.00953, allocations: 121.3 kB / 0.9876 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.009531, allocations: 0 / 0.9876 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.009531, allocations: 3.938 kB / 0.9876 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.009533, allocations: 0 / 0.9876 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.009544, allocations: 4 kB / 0.9876 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.009545, allocations: 0 / 0.9876 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.009545, allocations: 0 / 0.9876 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.009871, allocations: 260.3 kB / 0.9878 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-06/0.00988, allocations: 7.953 kB / 0.9878 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.009899, allocations: 4 kB / 0.9878 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.879e-05/0.009948, allocations: 3.984 kB / 0.9878 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.01, allocations: 11.94 kB / 0.9879 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.01001, allocations: 4 kB / 0.9879 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.644e-05/0.0101, allocations: 113.7 kB / 0.988 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.0101, allocations: 0 / 0.988 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003009/0.0104, allocations: 71.86 kB / 0.988 GB, free: 4.812 MB / 0.9356 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.0003035/0.0107, allocations: 159.7 kB / 0.9882 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004785/0.01118, allocations: 423.7 kB / 0.9886 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01118, allocations: 0 / 0.9886 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.01135, allocations: 157 kB / 0.9887 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.01149, allocations: 4 kB / 0.9888 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.0119, allocations: 250 kB / 0.989 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.549e-05/0.01197, allocations: 71.58 kB / 0.9891 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.017e-06/0.01197, allocations: 0 / 0.9891 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.01199, allocations: 12.62 kB / 0.9891 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.01199, allocations: 4 kB / 0.9891 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of Templates: time 0.00527/0.01726, allocations: 2.149 MB / 0.9912 GB, free: 1.496 MB / 0.9356 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: 7.873885899782181]