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.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.001189/0.001189, allocations: 106 kB / 18.94 MB, free: 2.934 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.00131/0.00131, allocations: 189.3 kB / 22.23 MB, free: 5.16 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.287/1.287, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.811/2.811, allocations: 495.7 MB / 0.7831 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_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 0.001847/0.001847, allocations: 68.17 kB / 1.137 GB, free: 33.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3013, allocations: 173.6 MB / 1.307 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001721/0.303, allocations: 0.6372 MB / 1.308 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.3048, allocations: 1.397 MB / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.3048, allocations: 3.938 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.415e-05/0.3049, allocations: 0 / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.431e-05/0.3049, allocations: 8 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.3055, allocations: 187.5 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.397e-05/0.3056, allocations: 43.91 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.172e-05/0.3056, allocations: 3.984 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.3056, allocations: 23.97 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.3057, allocations: 27.91 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.3057, allocations: 8 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.306, allocations: 219.7 kB / 1.309 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.3061, allocations: 15.92 kB / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.33e-05/0.3061, allocations: 23.86 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.3064, allocations: 191.4 kB / 1.31 GB, free: 15.11 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3064, allocations: 0 / 1.31 GB, free: 15.11 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3064, allocations: 0 / 1.31 GB, free: 15.11 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.3064, allocations: 0 / 1.31 GB, free: 15.11 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.0003947/0.3068, allocations: 369.2 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.3068, allocations: 8.031 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.3069, allocations: 12.89 kB / 1.31 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.307, allocations: 116.8 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.307, allocations: 4.312 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.307, allocations: 4.375 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.3072, allocations: 102 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.3072, allocations: 0 / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3072, allocations: 0 / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3072, allocations: 0 / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.766e-05/0.3073, allocations: 67.83 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.3074, allocations: 160.7 kB / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.3075, allocations: 74.53 kB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.3076, allocations: 64.89 kB / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-06/0.3076, allocations: 0 / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.3077, allocations: 34.5 kB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3077, allocations: 4 kB / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0003648/0.308, allocations: 255.1 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.3081, allocations: 85.14 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.3082, allocations: 141.8 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.3082, allocations: 29.7 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.3083, allocations: 96.08 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.3083, allocations: 11.84 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.3083, allocations: 29.7 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3085, allocations: 326.8 kB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.3086, allocations: 99.94 kB / 1.312 GB, free: 12.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.3087, allocations: 103.9 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.309, allocations: 281.9 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.309, allocations: 0 / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003416/0.3093, allocations: 320.8 kB / 1.312 GB, free: 12.12 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.209e-05/0.3094, allocations: 75.38 kB / 1.312 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.3094, allocations: 0 / 1.312 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3094, allocations: 0 / 1.312 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.3094, allocations: 0 / 1.312 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.3094, allocations: 0 / 1.312 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.3095, allocations: 11.95 kB / 1.312 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.3095, allocations: 8.062 kB / 1.312 GB, free: 12.02 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.00011/0.3096, allocations: 155.5 kB / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.3097, allocations: 11.88 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.522e-05/0.3097, allocations: 8.344 kB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3097, allocations: 0 / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3097, allocations: 0 / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3097, allocations: 0 / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.3098, allocations: 144.7 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3098, allocations: 0 / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-06/0.3098, allocations: 7.938 kB / 1.313 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.3098, allocations: 7.875 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3098, allocations: 4 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3098, allocations: 0 / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3098, allocations: 0 / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.3101, allocations: 230.6 kB / 1.313 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.3101, allocations: 11.83 kB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3101, allocations: 4 kB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.876e-05/0.3102, allocations: 12.03 kB / 1.313 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.3102, allocations: 7.984 kB / 1.313 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3102, allocations: 4 kB / 1.313 GB, free: 11.33 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.195e-05/0.3103, allocations: 113.6 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.3103, allocations: 0 / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002657/0.3106, allocations: 63.92 kB / 1.313 GB, free: 11.16 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.0002432/0.3108, allocations: 147.1 kB / 1.313 GB, free: 11.01 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.3112, allocations: 338.6 kB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3112, allocations: 0 / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.3113, allocations: 115.4 kB / 1.314 GB, free: 10.53 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.3114, allocations: 8 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.3118, allocations: 217.3 kB / 1.314 GB, free: 10.28 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.312, allocations: 0.6885 MB / 1.315 GB, free: 9.566 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.428e-06/0.312, allocations: 0 / 1.315 GB, free: 9.566 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.046e-05/0.312, allocations: 7.438 kB / 1.315 GB, free: 9.559 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/0.312, allocations: 0 / 1.315 GB, free: 9.559 MB / 1.014 GB Notification: Performance of Templates: time 0.004512/0.3166, allocations: 2.09 MB / 1.317 GB, free: 7.48 MB / 1.014 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: 7.796318025328219]