Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.001966/0.001966, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.002546/0.002546, allocations: 185.1 kB / 22.22 MB, free: 5.105 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.517/1.517, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 443.4 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 1.062 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.751/0.753, allocations: 160.8 MB / 1.219 GB, free: 3.777 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001693/0.7547, allocations: 0.6383 MB / 1.219 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004565/0.7552, allocations: 212.3 kB / 1.219 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.7552, allocations: 0 / 1.219 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.23e-05/0.7552, allocations: 0 / 1.219 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.7554, allocations: 10.53 kB / 1.219 GB, free: 3.129 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.7556, allocations: 70.8 kB / 1.219 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.376e-05/0.7557, allocations: 33.27 kB / 1.219 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.7557, allocations: 7.094 kB / 1.219 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.306e-05/0.7557, allocations: 16.8 kB / 1.219 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.7558, allocations: 22.12 kB / 1.219 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.7558, allocations: 2.5 kB / 1.219 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.756, allocations: 111 kB / 1.22 GB, free: 2.969 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.756, allocations: 5.125 kB / 1.22 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.7561, allocations: 18.17 kB / 1.22 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.7563, allocations: 108.8 kB / 1.22 GB, free: 2.895 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.7563, allocations: 0 / 1.22 GB, free: 2.895 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7563, allocations: 0 / 1.22 GB, free: 2.895 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.7563, allocations: 1.094 kB / 1.22 GB, free: 2.895 MB / 0.92 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.0006004/0.7569, allocations: 380.3 kB / 1.22 GB, free: 2.496 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.7569, allocations: 13.09 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.7569, allocations: 7.141 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.7571, allocations: 169.6 kB / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.7571, allocations: 5.5 kB / 1.22 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.7571, allocations: 1.75 kB / 1.22 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.7573, allocations: 51.58 kB / 1.22 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.7573, allocations: 1.562 kB / 1.22 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.7573, allocations: 7.938 kB / 1.22 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.7573, allocations: 1.281 kB / 1.22 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.7574, allocations: 32.41 kB / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.7578, allocations: 250.6 kB / 1.221 GB, free: 1.938 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.758, allocations: 72.75 kB / 1.221 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.058e-05/0.7581, allocations: 24.34 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.7581, allocations: 1.281 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.7581, allocations: 35.91 kB / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.7581, allocations: 0 / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.02797/0.7861, allocations: 1.617 MB / 1.222 GB, free: 1.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.7862, allocations: 52.44 kB / 1.222 GB, free: 1.027 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.7863, allocations: 120.8 kB / 1.222 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.7863, allocations: 25.7 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6e-05/0.7864, allocations: 85.98 kB / 1.223 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.57e-05/0.7865, allocations: 30.92 kB / 1.223 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.7867, allocations: 25.17 kB / 1.223 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7868, allocations: 324.5 kB / 1.223 GB, free: 432 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.7873, allocations: 146.8 kB / 1.223 GB, free: 372 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.7878, allocations: 139.5 kB / 1.223 GB, free: 320 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009911/0.7888, allocations: 303.9 kB / 1.224 GB, free: 188 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.7888, allocations: 0 / 1.224 GB, free: 188 kB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001177/0.7899, allocations: 336.6 kB / 1.224 GB, free: 32 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.79, allocations: 5.312 kB / 1.224 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.79, allocations: 0 / 1.224 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.79, allocations: 5.328 kB / 1.224 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.7915, allocations: 65.67 kB / 1.224 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.7915, allocations: 0.9688 kB / 1.224 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.7928, allocations: 47.91 kB / 1.224 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.7928, allocations: 2.219 kB / 1.224 GB, free: 15.98 MB / 0.9356 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.0001868/0.793, allocations: 131.8 kB / 1.224 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/0.7931, allocations: 6.109 kB / 1.224 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.7932, allocations: 18.69 kB / 1.224 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7932, allocations: 1.406 kB / 1.224 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.7932, allocations: 4 kB / 1.224 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.7932, allocations: 5.422 kB / 1.224 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00541/0.7986, allocations: 0.8438 MB / 1.225 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.7986, allocations: 1.25 kB / 1.225 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.7997, allocations: 56.09 kB / 1.225 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7997, allocations: 1.375 kB / 1.225 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.7997, allocations: 2 kB / 1.225 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.7997, allocations: 4.969 kB / 1.225 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.7997, allocations: 1.312 kB / 1.225 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009296/0.8007, allocations: 324.8 kB / 1.225 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.8007, allocations: 87.77 kB / 1.225 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.8008, allocations: 1.156 kB / 1.225 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009581/0.8018, allocations: 50.45 kB / 1.225 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.8018, allocations: 14.23 kB / 1.225 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.8018, allocations: 3.094 kB / 1.225 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.687e-05/0.8019, allocations: 97.05 kB / 1.226 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8019, allocations: 0 / 1.226 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003947/0.8023, allocations: 95.16 kB / 1.226 GB, free: 14.73 MB / 0.9356 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.0002215/0.8025, allocations: 114.2 kB / 1.226 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009545/0.8035, allocations: 242.5 kB / 1.226 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8035, allocations: 0 / 1.226 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004027/0.8039, allocations: 95.53 kB / 1.226 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.8042, allocations: 10.88 kB / 1.226 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.8067, allocations: 294.9 kB / 1.226 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.807, allocations: 0.6822 MB / 1.227 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003929/0.8074, allocations: 56.17 kB / 1.227 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/0.8078, allocations: 12.72 kB / 1.227 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.8078, allocations: 1.312 kB / 1.227 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of Templates: time 0.01341/0.8212, allocations: 8.859 MB / 1.236 GB, free: 5.238 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.097446970641613]