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.001552/0.001552, 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.00176/0.00176, allocations: 221.2 kB / 23 MB, free: 4.91 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 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.188/3.188, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002201/0.002201, allocations: 78.5 kB / 1.187 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3507, allocations: 181.9 MB / 1.365 GB, free: 13.69 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002002/0.3527, allocations: 0.6224 MB / 1.365 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002308/0.355, allocations: 1.389 MB / 1.367 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.3551, allocations: 0 / 1.367 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.597e-05/0.3551, allocations: 3.938 kB / 1.367 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.452e-05/0.3552, allocations: 0 / 1.367 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007618/0.3559, allocations: 187.5 kB / 1.367 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.3561, allocations: 47.89 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.3561, allocations: 4 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.019e-05/0.3562, allocations: 15.98 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.3562, allocations: 27.91 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.3562, allocations: 0 / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.3567, allocations: 215.7 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.3567, allocations: 11.94 kB / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.3568, allocations: 27.86 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.3571, allocations: 187.4 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3571, allocations: 0 / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3571, allocations: 0 / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3571, allocations: 0 / 1.367 GB, free: 10.94 MB / 1.061 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.0005156/0.3577, allocations: 369.2 kB / 1.368 GB, free: 10.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3577, allocations: 8.031 kB / 1.368 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.3577, allocations: 12.89 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3579, allocations: 118.4 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.3579, allocations: 8.375 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.3579, allocations: 4.375 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.3581, allocations: 127.7 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3581, allocations: 0 / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3581, allocations: 0 / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.3581, allocations: 0 / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.3583, allocations: 97.64 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.3584, allocations: 117.3 kB / 1.368 GB, free: 9.984 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.3586, allocations: 116.2 kB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3587, allocations: 94.59 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-06/0.3587, allocations: 0 / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.3587, allocations: 34.56 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.3587, allocations: 4 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004658/0.3592, allocations: 314.5 kB / 1.369 GB, free: 9.375 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.3593, allocations: 81.11 kB / 1.369 GB, free: 9.277 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.3594, allocations: 148.4 kB / 1.369 GB, free: 9.125 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.3594, allocations: 29.7 kB / 1.369 GB, free: 9.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.3595, allocations: 96.03 kB / 1.369 GB, free: 8.992 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.3595, allocations: 15.83 kB / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.3596, allocations: 25.72 kB / 1.369 GB, free: 8.945 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3597, allocations: 322.8 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.3599, allocations: 171.3 kB / 1.37 GB, free: 8.441 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.3601, allocations: 171.4 kB / 1.37 GB, free: 8.262 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.3604, allocations: 289.8 kB / 1.37 GB, free: 7.957 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3604, allocations: 0 / 1.37 GB, free: 7.957 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004343/0.3609, allocations: 396.4 kB / 1.37 GB, free: 7.539 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.523e-05/0.3609, allocations: 71.33 kB / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3609, allocations: 0 / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3609, allocations: 3.984 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.3609, allocations: 0 / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3609, allocations: 3.938 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.3611, allocations: 15.94 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.3611, allocations: 4 kB / 1.37 GB, free: 7.43 MB / 1.061 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.0001233/0.3612, allocations: 151.6 kB / 1.371 GB, free: 7.266 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.3613, allocations: 11.89 kB / 1.371 GB, free: 7.254 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.3613, allocations: 8.344 kB / 1.371 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3613, allocations: 0 / 1.371 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3613, allocations: 0 / 1.371 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3613, allocations: 0 / 1.371 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.3614, allocations: 121.3 kB / 1.371 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3614, allocations: 0 / 1.371 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-07/0.3614, allocations: 0 / 1.371 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3614, allocations: 0 / 1.371 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3614, allocations: 11.94 kB / 1.371 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3614, allocations: 0 / 1.371 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3614, allocations: 4 kB / 1.371 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.3617, allocations: 260.4 kB / 1.371 GB, free: 6.785 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.3618, allocations: 11.89 kB / 1.371 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.3618, allocations: 7.875 kB / 1.371 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.138e-05/0.3618, allocations: 4 kB / 1.371 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.3619, allocations: 7.984 kB / 1.371 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.3619, allocations: 4 kB / 1.371 GB, free: 6.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.022e-05/0.362, allocations: 107.2 kB / 1.371 GB, free: 6.645 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.362, allocations: 0 / 1.371 GB, free: 6.645 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002978/0.3623, allocations: 67.97 kB / 1.371 GB, free: 6.578 MB / 1.061 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.0002959/0.3626, allocations: 151 kB / 1.371 GB, free: 6.422 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00047/0.363, allocations: 419.8 kB / 1.372 GB, free: 5.969 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.363, allocations: 0 / 1.372 GB, free: 5.969 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.3632, allocations: 153 kB / 1.372 GB, free: 5.801 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.3633, allocations: 9.719 kB / 1.372 GB, free: 5.793 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.3638, allocations: 273.8 kB / 1.372 GB, free: 5.484 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.191e-05/0.3639, allocations: 87.3 kB / 1.372 GB, free: 5.379 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.114e-05/0.3639, allocations: 7.438 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.3639, allocations: 0 / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of Templates: time 0.003886/0.3678, allocations: 1.693 MB / 1.374 GB, free: 3.688 MB / 1.061 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/jenkins1/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: 11.23526541609317]