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.001959/0.001959, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002625/0.002625, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 8 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.899/2.899, allocations: 476.8 MB / 0.7714 GB, free: 4.266 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.002115/0.002115, allocations: 66.27 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4046, allocations: 170 MB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.00204/0.4067, allocations: 0.6245 MB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002245/0.4089, allocations: 1.453 MB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.4089, allocations: 0 / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.077e-05/0.409, allocations: 3.938 kB / 1.287 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.421e-05/0.409, allocations: 4 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000763/0.4098, allocations: 183.6 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.4099, allocations: 47.89 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.41, allocations: 4 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.41, allocations: 19.92 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.804e-05/0.4101, allocations: 27.91 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.4101, allocations: 4 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004115/0.4105, allocations: 227.7 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.116e-05/0.4106, allocations: 11.92 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.4106, allocations: 19.88 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.4109, allocations: 203.3 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4109, allocations: 3.938 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4109, allocations: 4 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4109, allocations: 0 / 1.287 GB, free: 8.32 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.0005103/0.4115, allocations: 361.3 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4115, allocations: 12.03 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.4115, allocations: 8.891 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.4117, allocations: 122.5 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.4117, allocations: 384 / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.4117, allocations: 4.375 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.4119, allocations: 102 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.4119, allocations: 0 / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4119, allocations: 0 / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4119, allocations: 0 / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.412, allocations: 67.88 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.4122, allocations: 148.7 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.4123, allocations: 78.52 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.112e-05/0.4124, allocations: 68.89 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.4124, allocations: 4 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.4125, allocations: 34.5 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.4125, allocations: 0 / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004423/0.4129, allocations: 255.2 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.413, allocations: 81.11 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.4131, allocations: 145.8 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.4131, allocations: 25.7 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.4132, allocations: 100.1 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.4132, allocations: 11.91 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.4133, allocations: 29.7 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4134, allocations: 314.8 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.4136, allocations: 103.9 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.4137, allocations: 103.9 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.414, allocations: 277.8 kB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.414, allocations: 0 / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000376/0.4144, allocations: 332.8 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-05/0.4144, allocations: 67.39 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4145, allocations: 0 / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4145, allocations: 0 / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.4145, allocations: 4 kB / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4145, allocations: 0 / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.4147, allocations: 15.88 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.4147, allocations: 8 kB / 1.29 GB, free: 5.242 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.0001372/0.4148, allocations: 149.9 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.4148, allocations: 19.86 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.627e-05/0.4148, allocations: 4.344 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.4148, allocations: 0 / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4148, allocations: 0 / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.4149, allocations: 4 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.415, allocations: 140.7 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.415, allocations: 4 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-06/0.415, allocations: 3.938 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.415, allocations: 0 / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.415, allocations: 3.984 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.415, allocations: 0 / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.415, allocations: 8 kB / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.4153, allocations: 230.6 kB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.4153, allocations: 19.81 kB / 1.291 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.4153, allocations: 0 / 1.291 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.453e-05/0.4154, allocations: 4 kB / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.4154, allocations: 7.984 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.4155, allocations: 7.938 kB / 1.291 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.683e-05/0.4155, allocations: 113.6 kB / 1.291 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4155, allocations: 0 / 1.291 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003124/0.4158, allocations: 59.94 kB / 1.291 GB, free: 4.395 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.0002886/0.4161, allocations: 150.4 kB / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004176/0.4165, allocations: 326.7 kB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.4165, allocations: 0 / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.4167, allocations: 131.3 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.4169, allocations: 9.438 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.4173, allocations: 243 kB / 1.292 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.4176, allocations: 0.6924 MB / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.4176, allocations: 7.438 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.4176, allocations: 0 / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of Templates: time 0.003919/0.4215, allocations: 1.679 MB / 1.294 GB, free: 1.078 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: 12.062274483992951]