Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001934/0.001934, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001661/0.001661, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 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.531/1.531, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.22/3.22, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.8776 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.676e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001844/0.001871, allocations: 0.6302 MB / 0.8783 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.004171, allocations: 1.39 MB / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.004197, allocations: 0 / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.103e-05/0.004258, allocations: 0 / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.251e-05/0.0043, allocations: 6.375 kB / 0.8796 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007552/0.005055, allocations: 183.5 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.005188, allocations: 49.23 kB / 0.8798 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.005226, allocations: 4 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.346e-05/0.00529, allocations: 23.97 kB / 0.8799 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.005362, allocations: 28.66 kB / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.005378, allocations: 0 / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000444/0.005822, allocations: 212.3 kB / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.005872, allocations: 11.92 kB / 0.8801 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.005916, allocations: 15.69 kB / 0.8801 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.006342, allocations: 235.4 kB / 0.8804 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.006344, allocations: 0 / 0.8804 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006345, allocations: 0 / 0.8804 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.006349, allocations: 0 / 0.8804 GB, free: 3.676 MB / 0.8386 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.0006258/0.006975, allocations: 365.3 kB / 0.8807 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.007015, allocations: 8.031 kB / 0.8807 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.007077, allocations: 16.83 kB / 0.8807 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.007215, allocations: 113.7 kB / 0.8808 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.007228, allocations: 384 / 0.8808 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.007243, allocations: 6.469 kB / 0.8808 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.007516, allocations: 131.9 kB / 0.881 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.007527, allocations: 192 / 0.881 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.007542, allocations: 384 / 0.881 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.007551, allocations: 3.938 kB / 0.881 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.007699, allocations: 86.66 kB / 0.881 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.007917, allocations: 129.2 kB / 0.8812 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.008107, allocations: 108.2 kB / 0.8813 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.008259, allocations: 95.72 kB / 0.8814 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.008275, allocations: 4 kB / 0.8814 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.00832, allocations: 30.56 kB / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.008321, allocations: 1.031 kB / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0006602/0.008981, allocations: 318.5 kB / 0.8817 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.554e-05/0.009077, allocations: 90.62 kB / 0.8818 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.009303, allocations: 140.3 kB / 0.8819 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.009335, allocations: 25.7 kB / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.009442, allocations: 96.11 kB / 0.882 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.009477, allocations: 14.09 kB / 0.8821 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.923e-05/0.009566, allocations: 29.7 kB / 0.8821 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.009759, allocations: 318.8 kB / 0.8824 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.01001, allocations: 167.3 kB / 0.8825 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.01022, allocations: 175.3 kB / 0.8827 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.01061, allocations: 285.9 kB / 0.883 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01061, allocations: 2.281 kB / 0.883 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000532/0.01115, allocations: 392.2 kB / 0.8834 GB, free: 308 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.18e-05/0.01123, allocations: 71.39 kB / 0.8834 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.01123, allocations: 0 / 0.8834 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.01126, allocations: 0 / 0.8834 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.993e-06/0.01127, allocations: 11.92 kB / 0.8834 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.01128, allocations: 0.7188 kB / 0.8834 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.01146, allocations: 7.953 kB / 0.8835 GB, free: 204 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.01148, allocations: 5.656 kB / 0.8835 GB, free: 200 kB / 0.8386 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.000153/0.01163, allocations: 151.5 kB / 0.8836 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.01166, allocations: 11.95 kB / 0.8836 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.01168, allocations: 8.328 kB / 0.8836 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01169, allocations: 1.344 kB / 0.8836 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.01169, allocations: 3.938 kB / 0.8836 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.0117, allocations: 0 / 0.8836 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.01185, allocations: 117.3 kB / 0.8837 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.01185, allocations: 4 kB / 0.8837 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-07/0.01185, allocations: 0 / 0.8837 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01185, allocations: 144 / 0.8837 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.01187, allocations: 19.92 kB / 0.8838 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01187, allocations: 0 / 0.8838 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.01187, allocations: 3.984 kB / 0.8838 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.01225, allocations: 264.3 kB / 0.884 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.01226, allocations: 11.95 kB / 0.884 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.01228, allocations: 0 / 0.884 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.842e-05/0.01234, allocations: 4 kB / 0.884 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.01241, allocations: 19.95 kB / 0.884 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.01242, allocations: 4 kB / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.21e-05/0.01252, allocations: 105.9 kB / 0.8842 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01252, allocations: 0 / 0.8842 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003428/0.01286, allocations: 63.94 kB / 0.8842 GB, free: 15.34 MB / 0.8542 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.0003524/0.01321, allocations: 161.5 kB / 0.8844 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000539/0.01375, allocations: 423.7 kB / 0.8848 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01375, allocations: 0 / 0.8848 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.01394, allocations: 157 kB / 0.8849 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.01411, allocations: 8.125 kB / 0.8849 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.01458, allocations: 254.7 kB / 0.8852 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.709e-05/0.01468, allocations: 75.33 kB / 0.8852 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.182e-06/0.01469, allocations: 0 / 0.8852 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/0.0147, allocations: 8.5 kB / 0.8853 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.0147, allocations: 0 / 0.8853 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of Templates: time 0.006316/0.02102, allocations: 2.171 MB / 0.8874 GB, free: 12 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.14261215296574]