Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009341/0.0009341, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.00099/0.00099, allocations: 165.4 kB / 24.17 MB, free: 328 kB / 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.936/0.936, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.912/1.912, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.288e-05, allocations: 5.266 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001197/0.00122, allocations: 0.6624 MB / 0.7607 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000306/0.001526, allocations: 175.8 kB / 0.7609 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.001555, allocations: 3.938 kB / 0.7609 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.001568, allocations: 0.9062 kB / 0.7609 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.001714, allocations: 14.44 kB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.001878, allocations: 73.94 kB / 0.761 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.908e-05/0.001937, allocations: 28.91 kB / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.001972, allocations: 5.766 kB / 0.761 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.679e-05/0.002019, allocations: 21.94 kB / 0.761 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/0.002067, allocations: 13.84 kB / 0.761 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.002079, allocations: 0 / 0.761 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-05/0.002164, allocations: 47.28 kB / 0.7611 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.002182, allocations: 19.78 kB / 0.7611 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.6e-05/0.002198, allocations: 9.75 kB / 0.7611 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.002311, allocations: 99.7 kB / 0.7612 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002314, allocations: 0 / 0.7612 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002314, allocations: 0 / 0.7612 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.002317, allocations: 0 / 0.7612 GB, free: 5.441 MB / 0.7136 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.000307/0.002624, allocations: 262.2 kB / 0.7615 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.002655, allocations: 8.031 kB / 0.7615 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/0.002678, allocations: 4.938 kB / 0.7615 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.534e-05/0.002754, allocations: 115 kB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.002763, allocations: 8.312 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.002779, allocations: 384 / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.053e-05/0.00287, allocations: 64.16 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.002879, allocations: 4.125 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.002886, allocations: 384 / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.002891, allocations: 1.281 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.496e-05/0.002916, allocations: 15.92 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.003061, allocations: 148.2 kB / 0.7618 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.238e-05/0.003114, allocations: 31.25 kB / 0.7618 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.00313, allocations: 14.59 kB / 0.7619 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.00314, allocations: 0 / 0.7619 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.003163, allocations: 38.5 kB / 0.7619 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 5.71e-07/0.003164, allocations: 0 / 0.7619 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.01011/0.01327, allocations: 1.377 MB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.0133, allocations: 52.97 kB / 0.7633 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.349e-05/0.01336, allocations: 114.7 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.01341, allocations: 25.7 kB / 0.7634 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.01345, allocations: 100 kB / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.01349, allocations: 19.86 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.0136, allocations: 26.94 kB / 0.7636 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.774e-05/0.01367, allocations: 322.8 kB / 0.7639 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.01381, allocations: 64 kB / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.01394, allocations: 68.59 kB / 0.764 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.01423, allocations: 152.8 kB / 0.7641 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.01423, allocations: 4.844 kB / 0.7642 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003576/0.01458, allocations: 177.6 kB / 0.7643 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.0146, allocations: 8.531 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.0146, allocations: 0 / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.01462, allocations: 0.5938 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.01518, allocations: 56.91 kB / 0.7644 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.01518, allocations: 0 / 0.7644 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/0.01562, allocations: 49.42 kB / 0.7644 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.01565, allocations: 4 kB / 0.7644 GB, free: 2.016 MB / 0.7136 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.000108/0.01576, allocations: 109.8 kB / 0.7645 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.01582, allocations: 8.531 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.513e-05/0.01589, allocations: 30.59 kB / 0.7646 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.0159, allocations: 0 / 0.7646 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.0159, allocations: 0 / 0.7646 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.0159, allocations: 0 / 0.7646 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.01782, allocations: 480 kB / 0.765 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01783, allocations: 7.156 kB / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.0182, allocations: 47.94 kB / 0.7651 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.0182, allocations: 0 / 0.7651 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.01822, allocations: 0 / 0.7651 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.01822, allocations: 4 kB / 0.7651 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01823, allocations: 0 / 0.7651 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.01851, allocations: 197.2 kB / 0.7653 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.01852, allocations: 11.94 kB / 0.7653 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.009e-05/0.01856, allocations: 7.531 kB / 0.7653 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.01889, allocations: 31.97 kB / 0.7653 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.01891, allocations: 3.984 kB / 0.7653 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.01893, allocations: 4 kB / 0.7653 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.066e-05/0.01895, allocations: 25.48 kB / 0.7654 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01895, allocations: 0 / 0.7654 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002356/0.01918, allocations: 95.88 kB / 0.7655 GB, free: 0.9219 MB / 0.7136 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.0001653/0.01935, allocations: 99.5 kB / 0.7655 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.01967, allocations: 120.8 kB / 0.7657 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.01968, allocations: 4 kB / 0.7657 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.01979, allocations: 36.8 kB / 0.7657 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.01994, allocations: 16.39 kB / 0.7657 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009438/0.02088, allocations: 230.1 kB / 0.7659 GB, free: 392 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.02091, allocations: 59.94 kB / 0.766 GB, free: 312 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002355/0.02115, allocations: 53.39 kB / 0.766 GB, free: 300 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.02154, allocations: 63.89 kB / 0.7661 GB, free: 236 kB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.02154, allocations: 0 / 0.7661 GB, free: 236 kB / 0.7136 GB Notification: Performance of Templates: time 0.01076/0.03231, allocations: 9.922 MB / 0.7758 GB, free: 6.367 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","",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.211139767896384]