Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001296/0.001296, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001408/0.001408, allocations: 200.5 kB / 22.17 MB, free: 5.211 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.602/1.602, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.779/2.779, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.89 kB / 1.109 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8979/0.8999, allocations: 168.7 MB / 1.274 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001906/0.9018, allocations: 0.6475 MB / 1.275 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004901/0.9023, allocations: 199.1 kB / 1.275 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.9023, allocations: 0 / 1.275 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.9023, allocations: 0 / 1.275 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.9025, allocations: 15.92 kB / 1.275 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.9027, allocations: 79.75 kB / 1.275 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.071e-05/0.9028, allocations: 23.92 kB / 1.275 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.178e-05/0.9028, allocations: 7.984 kB / 1.275 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.205e-05/0.9029, allocations: 11.94 kB / 1.275 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.9029, allocations: 27.89 kB / 1.275 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.903, allocations: 0 / 1.275 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.9031, allocations: 111.7 kB / 1.275 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.9031, allocations: 3.938 kB / 1.275 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.9032, allocations: 15.92 kB / 1.275 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.9034, allocations: 106.3 kB / 1.275 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.9034, allocations: 12 kB / 1.275 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9034, allocations: 0 / 1.275 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.9034, allocations: 0 / 1.275 GB, free: 3.164 MB / 0.9669 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.0006307/0.904, allocations: 367.2 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.904, allocations: 8.031 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.9041, allocations: 12.83 kB / 1.276 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.9042, allocations: 172.3 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.9042, allocations: 384 / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.9043, allocations: 4.375 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.9044, allocations: 66.16 kB / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.9044, allocations: 4.141 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.9045, allocations: 3.938 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.9045, allocations: 0 / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.9046, allocations: 31.97 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.9049, allocations: 244.9 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.9052, allocations: 78.45 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.31e-05/0.9052, allocations: 16.94 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.9052, allocations: 4 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.9053, allocations: 38.56 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.9053, allocations: 0 / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.02764/0.9329, allocations: 1.609 MB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.933, allocations: 51.41 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.9331, allocations: 125.8 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.383e-05/0.9332, allocations: 29.7 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.9332, allocations: 88.14 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.007e-05/0.9333, allocations: 31.72 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.9335, allocations: 21.77 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.9337, allocations: 326.7 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.9342, allocations: 139.9 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/0.9347, allocations: 147.9 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.9357, allocations: 292.8 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.9357, allocations: 0 / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001231/0.9369, allocations: 345.5 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.9369, allocations: 4.656 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.9369, allocations: 0 / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.9369, allocations: 0 / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.9386, allocations: 63.92 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.9386, allocations: 0 / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.94, allocations: 47.95 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.94, allocations: 11.98 kB / 1.28 GB, free: 14.61 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: 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.0002049/0.9402, allocations: 122.1 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.585e-05/0.9403, allocations: 7.953 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.9405, allocations: 16.38 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.9405, allocations: 4 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.9405, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.9405, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00588/0.9463, allocations: 0.8377 MB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.9464, allocations: 3.984 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.9475, allocations: 51.94 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.9475, allocations: 4.062 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.9475, allocations: 4 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.9475, allocations: 7.875 kB / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9475, allocations: 0 / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009622/0.9485, allocations: 325.1 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.9486, allocations: 85.06 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.9486, allocations: 0 / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.9497, allocations: 47.88 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.9497, allocations: 8 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.9498, allocations: 4 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.382e-05/0.9499, allocations: 99.2 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9499, allocations: 0 / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004294/0.9503, allocations: 95.94 kB / 1.281 GB, free: 12.78 MB / 0.9825 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.0002712/0.9506, allocations: 115.1 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009958/0.9516, allocations: 243.8 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9516, allocations: 0 / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004073/0.952, allocations: 91.94 kB / 1.282 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.9523, allocations: 9.875 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.9551, allocations: 314.6 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.9554, allocations: 0.6885 MB / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003682/0.9558, allocations: 48.47 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.9562, allocations: 19.42 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of SimCode: time 6.52e-07/0.9562, allocations: 7.938 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of Templates: time 0.0138/0.97, allocations: 8.841 MB / 1.291 GB, free: 2.309 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.400892342906445]