Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001711/0.001711, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.002056/0.002056, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.542/1.542, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.726/2.726, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 63.91 kB / 1.057 GB, free: 1.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3297, allocations: 160.7 MB / 1.214 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001834/0.3315, allocations: 0.613 MB / 1.215 GB, free: 272 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3335, allocations: 1.384 MB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.3336, allocations: 0 / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.588e-05/0.3336, allocations: 3.938 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.117e-05/0.3337, allocations: 3.984 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.3343, allocations: 179.6 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.3344, allocations: 51.89 kB / 1.216 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.494e-05/0.3345, allocations: 0 / 1.216 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.3345, allocations: 19.92 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.3346, allocations: 27.91 kB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.3346, allocations: 0 / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.3349, allocations: 211.7 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.278e-05/0.335, allocations: 19.92 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.335, allocations: 23.86 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.3353, allocations: 191.4 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3353, allocations: 0 / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3353, allocations: 0 / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3353, allocations: 0 / 1.217 GB, free: 14.14 MB / 0.9669 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.0005855/0.3359, allocations: 454.2 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.3359, allocations: 8.031 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.336, allocations: 8.891 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3361, allocations: 172.3 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3362, allocations: 8.375 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.3362, allocations: 384 / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.3363, allocations: 97.95 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3363, allocations: 3.938 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3364, allocations: 4 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3364, allocations: 0 / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.272e-05/0.3365, allocations: 59.95 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.3366, allocations: 177.6 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.3368, allocations: 86.47 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.3369, allocations: 69.61 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.3369, allocations: 0 / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.3369, allocations: 38.5 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.3369, allocations: 0 / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004306/0.3374, allocations: 259.1 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.3374, allocations: 81.05 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.3376, allocations: 147.9 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.3376, allocations: 29.7 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.3377, allocations: 88.09 kB / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.3377, allocations: 11.94 kB / 1.218 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.3377, allocations: 25.72 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3379, allocations: 322.8 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.338, allocations: 99.94 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.3381, allocations: 103.9 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.3384, allocations: 281.8 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3384, allocations: 0 / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003905/0.3388, allocations: 332.8 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.401e-05/0.3389, allocations: 67.39 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3389, allocations: 4 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3389, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.3389, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.3389, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.3391, allocations: 11.89 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.3391, allocations: 8 kB / 1.22 GB, free: 10.86 MB / 0.9669 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.0001217/0.3392, allocations: 155.5 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.3392, allocations: 11.89 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.3392, allocations: 4.25 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3392, allocations: 4 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3393, allocations: 0 / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-06/0.3393, allocations: 0 / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.3394, allocations: 173.6 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3394, allocations: 0 / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-06/0.3394, allocations: 3.938 kB / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3394, allocations: 0 / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.3394, allocations: 4 kB / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3394, allocations: 4 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3394, allocations: 3.938 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.3397, allocations: 230.6 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.3398, allocations: 92.94 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.3398, allocations: 0 / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.248e-05/0.3398, allocations: 7.984 kB / 1.22 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.3399, allocations: 11.97 kB / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.3399, allocations: 8 kB / 1.22 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.147e-05/0.34, allocations: 113 kB / 1.22 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.34, allocations: 0 / 1.22 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002921/0.3403, allocations: 63.92 kB / 1.221 GB, free: 9.871 MB / 0.9669 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.000284/0.3405, allocations: 147.2 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004121/0.341, allocations: 330.6 kB / 1.221 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.341, allocations: 0 / 1.221 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.3411, allocations: 135.3 kB / 1.221 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.3412, allocations: 7.938 kB / 1.221 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.3416, allocations: 247 kB / 1.221 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.342, allocations: 0.6924 MB / 1.222 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.826e-06/0.342, allocations: 11.44 kB / 1.222 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.342, allocations: 0 / 1.222 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of Templates: time 0.003608/0.3456, allocations: 1.667 MB / 1.224 GB, free: 6.555 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.26528584281914]