Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.000841/0.000841, allocations: 79.69 kB / 20.02 MB, free: 4.484 MB / 18.57 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.0009139/0.0009139, allocations: 169.9 kB / 23.32 MB, free: 1.184 MB / 18.57 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 0.9368/0.9368, allocations: 177.1 MB / 203.6 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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 1.913/1.913, allocations: 388.6 MB / 0.6335 GB, free: 13.08 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 1 GB, free: 13.6 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.759e-05, allocations: 2.281 kB / 1 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001204/0.001232, allocations: 0.6382 MB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006021/0.001834, allocations: 167.2 kB / 1.001 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.19e-05/0.001866, allocations: 0 / 1.001 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.001881, allocations: 3.938 kB / 1.001 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.002055, allocations: 15.92 kB / 1.001 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.002232, allocations: 71.69 kB / 1.001 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.158e-05/0.002293, allocations: 27.92 kB / 1.001 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.002341, allocations: 11.98 kB / 1.001 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.586e-05/0.002387, allocations: 19.92 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.025e-05/0.002457, allocations: 23.91 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.002474, allocations: 0 / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.86e-05/0.002573, allocations: 43.89 kB / 1.001 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.002595, allocations: 15.92 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.002615, allocations: 0 / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.002767, allocations: 99.75 kB / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.00277, allocations: 0 / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.442e-06/0.002771, allocations: 4 kB / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.002777, allocations: 0 / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000489/0.003266, allocations: 294.1 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.00331, allocations: 8.75 kB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003319/0.003641, allocations: 56.8 kB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.003766, allocations: 117.7 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.00378, allocations: 384 / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.003813, allocations: 12.31 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.003989, allocations: 74.19 kB / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.004001, allocations: 4.188 kB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.004017, allocations: 4.312 kB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.004024, allocations: 384 / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.004175, allocations: 59.89 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002728/0.004448, allocations: 196.6 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.004677, allocations: 98.45 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.485e-05/0.004752, allocations: 36.94 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.00477, allocations: 7.984 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.004794, allocations: 34.56 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.004795, allocations: 0 / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.01227/0.01706, allocations: 1.519 MB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.01712, allocations: 51.41 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.01723, allocations: 117.8 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.01728, allocations: 29.7 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.01734, allocations: 92.08 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.01739, allocations: 31.73 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.01752, allocations: 29.7 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.01761, allocations: 318.8 kB / 1.005 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.01798, allocations: 147.9 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.01833, allocations: 159.9 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007222/0.01905, allocations: 316.8 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01906, allocations: 0 / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008524/0.01991, allocations: 361.5 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.01993, allocations: 8 kB / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01993, allocations: 0 / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.01995, allocations: 0 / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/0.02068, allocations: 63.92 kB / 1.006 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.02069, allocations: 0 / 1.006 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005864/0.02128, allocations: 55.94 kB / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.02131, allocations: 4 kB / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001473/0.02146, allocations: 117.8 kB / 1.006 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.02152, allocations: 15.89 kB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.527e-05/0.02161, allocations: 20.42 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.02162, allocations: 4 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.02162, allocations: 0 / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.02163, allocations: 0 / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.02453, allocations: 0.7361 MB / 1.007 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.02454, allocations: 0 / 1.007 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/0.02505, allocations: 55.94 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.02505, allocations: 3.984 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.02508, allocations: 4 kB / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.02509, allocations: 4 kB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.02509, allocations: 4 kB / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/0.02577, allocations: 349 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.02579, allocations: 4 kB / 1.007 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.02583, allocations: 3.984 kB / 1.007 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.02628, allocations: 39.95 kB / 1.007 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.0263, allocations: 15.98 kB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.02632, allocations: 4 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.63e-05/0.02637, allocations: 99.8 kB / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.02637, allocations: 0 / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002683/0.02664, allocations: 99.94 kB / 1.007 GB, free: 6.395 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001448/0.02678, allocations: 91.25 kB / 1.007 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007202/0.0275, allocations: 267.8 kB / 1.008 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.0275, allocations: 4 kB / 1.008 GB, free: 6.027 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.02779, allocations: 99.94 kB / 1.008 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.028, allocations: 4 kB / 1.008 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.02936, allocations: 322.5 kB / 1.008 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.02969, allocations: 71.2 kB / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002663/0.02995, allocations: 60 kB / 1.008 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/0.03027, allocations: 16.48 kB / 1.008 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of SimCode: time 9.12e-07/0.03027, allocations: 0 / 1.008 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of Templates: time 0.008861/0.03913, allocations: 10.24 MB / 1.018 GB, free: 11.12 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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: 5.701806546188891]