Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001445/0.001445, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001792/0.001792, allocations: 222.3 kB / 23 MB, free: 4.914 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.83/2.83, allocations: 476 MB / 0.7707 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [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.002141/0.002141, allocations: 68.47 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3077, allocations: 170 MB / 1.284 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001965/0.3097, allocations: 0.6169 MB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.3119, allocations: 1.383 MB / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.3119, allocations: 0 / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.808e-05/0.3119, allocations: 3.984 kB / 1.286 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.312, allocations: 11.94 kB / 1.286 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007788/0.3128, allocations: 175.6 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.3129, allocations: 51.89 kB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.3129, allocations: 4 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.862e-05/0.313, allocations: 23.91 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.535e-05/0.313, allocations: 19.97 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3131, allocations: 8 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.3135, allocations: 207.7 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.3135, allocations: 15.92 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.3136, allocations: 27.86 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.3139, allocations: 191.4 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3139, allocations: 0 / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3139, allocations: 0 / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3139, allocations: 4 kB / 1.286 GB, free: 9.105 MB / 0.9825 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.0004748/0.3144, allocations: 363.3 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3144, allocations: 16.02 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.3145, allocations: 12.89 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.3146, allocations: 114.5 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3146, allocations: 384 / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.3146, allocations: 4.375 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.3148, allocations: 123.7 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.3148, allocations: 4 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3148, allocations: 0 / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3148, allocations: 0 / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.315, allocations: 97.58 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.3151, allocations: 125.2 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.3153, allocations: 104.2 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.3154, allocations: 102.6 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.3154, allocations: 0 / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.3154, allocations: 34.56 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3154, allocations: 0 / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004667/0.3159, allocations: 322.5 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.3159, allocations: 77.11 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.3161, allocations: 148.4 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.3161, allocations: 29.7 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.3162, allocations: 88.05 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.3162, allocations: 19.83 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.3162, allocations: 29.75 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3164, allocations: 322.8 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.3166, allocations: 167.3 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.3168, allocations: 167.3 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.3171, allocations: 289.9 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3171, allocations: 0 / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000447/0.3175, allocations: 400.2 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.001e-05/0.3176, allocations: 79.27 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3176, allocations: 0 / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3176, allocations: 0 / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.3176, allocations: 4 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.3176, allocations: 4.062 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.3178, allocations: 7.953 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.3178, allocations: 4 kB / 1.29 GB, free: 5.605 MB / 0.9825 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.0001288/0.3179, allocations: 151.5 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.318, allocations: 11.89 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.776e-05/0.318, allocations: 8.344 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.318, allocations: 0 / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.318, allocations: 4 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.318, allocations: 0 / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.3181, allocations: 113.3 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3181, allocations: 12 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3181, allocations: 0 / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3181, allocations: 0 / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3181, allocations: 3.938 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3181, allocations: 0 / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3181, allocations: 4.141 kB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.3184, allocations: 268.3 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.3185, allocations: 7.891 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.3185, allocations: 11.92 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.019e-05/0.3185, allocations: 7.938 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.3186, allocations: 16.02 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3186, allocations: 0 / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.855e-05/0.3187, allocations: 104.8 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3187, allocations: 0 / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003129/0.319, allocations: 67.92 kB / 1.29 GB, free: 4.75 MB / 0.9825 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.0002752/0.3193, allocations: 143.1 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004881/0.3198, allocations: 431.7 kB / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3198, allocations: 0 / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.3199, allocations: 153 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.3201, allocations: 8.125 kB / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.3205, allocations: 268.8 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.595e-05/0.3206, allocations: 75.33 kB / 1.291 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.351e-05/0.3206, allocations: 7.438 kB / 1.291 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.3206, allocations: 0 / 1.291 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of Templates: time 0.003895/0.3245, allocations: 1.69 MB / 1.293 GB, free: 1.871 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.802649321965873]