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.00121/0.00121, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001112/0.001112, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.046/1.046, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.852/1.852, allocations: 377.8 MB / 0.6236 GB, free: 8.586 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.064e-06/2.064e-06, allocations: 0 / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.876e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001382/0.001411, allocations: 0.6514 MB / 0.8122 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003592/0.00177, allocations: 171.2 kB / 0.8124 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.27e-05/0.001803, allocations: 0.6875 kB / 0.8124 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/0.001825, allocations: 4.844 kB / 0.8124 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.00201, allocations: 23.8 kB / 0.8124 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.002195, allocations: 64.47 kB / 0.8125 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.206e-05/0.002258, allocations: 32.78 kB / 0.8125 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.002296, allocations: 0 / 0.8125 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.465e-05/0.002341, allocations: 23.91 kB / 0.8125 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.002396, allocations: 17.23 kB / 0.8126 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.002411, allocations: 0 / 0.8126 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.765e-05/0.002509, allocations: 51.81 kB / 0.8126 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.002528, allocations: 17.67 kB / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.002546, allocations: 3.984 kB / 0.8126 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.002687, allocations: 99.66 kB / 0.8127 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.002689, allocations: 0 / 0.8127 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.132e-06/0.002691, allocations: 0 / 0.8127 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.002695, allocations: 5.219 kB / 0.8127 GB, free: 0.5469 MB / 0.7605 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.0004688/0.003163, allocations: 380.5 kB / 0.8131 GB, free: 140 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.003216, allocations: 9.844 kB / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.003261, allocations: 12.88 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.003384, allocations: 116.5 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.003396, allocations: 4.375 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.003424, allocations: 4.375 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.003547, allocations: 64.47 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.003557, allocations: 192 / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.003566, allocations: 384 / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.003575, allocations: 4.375 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.023e-05/0.003615, allocations: 20.73 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.003858, allocations: 243.9 kB / 0.8135 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.611e-05/0.003934, allocations: 47.89 kB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.003963, allocations: 16.45 kB / 0.8136 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.003982, allocations: 0 / 0.8136 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.004004, allocations: 39.3 kB / 0.8136 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.004004, allocations: 0 / 0.8136 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0123/0.0163, allocations: 1.485 MB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.01634, allocations: 55.41 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.01645, allocations: 182.5 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.01649, allocations: 25.7 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.01656, allocations: 140.4 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.0166, allocations: 19.86 kB / 0.8155 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.01673, allocations: 35.31 kB / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.01686, allocations: 0.4923 MB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.0171, allocations: 99.62 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.01734, allocations: 104 kB / 0.8162 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.01783, allocations: 223.6 kB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01783, allocations: 0 / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006521/0.01848, allocations: 265.5 kB / 0.8167 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.0185, allocations: 4 kB / 0.8167 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.01851, allocations: 3.984 kB / 0.8167 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.01853, allocations: 4 kB / 0.8167 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.01925, allocations: 47.95 kB / 0.8167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.01926, allocations: 12.92 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/0.01981, allocations: 39.95 kB / 0.8168 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.01984, allocations: 5.094 kB / 0.8168 GB, free: 12.21 MB / 0.7761 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.0001433/0.01998, allocations: 156.6 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.762e-05/0.02006, allocations: 16.98 kB / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.435e-05/0.02016, allocations: 16.16 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.02016, allocations: 4.422 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.02017, allocations: 0.5625 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.02017, allocations: 3.984 kB / 0.817 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.02283, allocations: 0.6583 MB / 0.8176 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.02284, allocations: 0 / 0.8176 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.02332, allocations: 47.94 kB / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.02332, allocations: 4 kB / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.02335, allocations: 0 / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.02336, allocations: 4 kB / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.02336, allocations: 8.047 kB / 0.8177 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000519/0.02388, allocations: 279.2 kB / 0.8179 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.0239, allocations: 11.95 kB / 0.818 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.02394, allocations: 0 / 0.818 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/0.02437, allocations: 39.89 kB / 0.818 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.02439, allocations: 7.984 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.02441, allocations: 4 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000133/0.02454, allocations: 135.2 kB / 0.8181 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.02454, allocations: 0 / 0.8181 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002878/0.02483, allocations: 99.88 kB / 0.8182 GB, free: 10.65 MB / 0.7761 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.0002236/0.02506, allocations: 123.1 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005144/0.02557, allocations: 168.6 kB / 0.8185 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.02557, allocations: 0 / 0.8185 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.02576, allocations: 59.61 kB / 0.8186 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.02598, allocations: 14.48 kB / 0.8186 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.02729, allocations: 265.3 kB / 0.8188 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.575e-05/0.02733, allocations: 55.36 kB / 0.8189 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002258/0.02756, allocations: 56.11 kB / 0.8189 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.02789, allocations: 12.5 kB / 0.8189 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of SimCode: time 1.333e-06/0.02789, allocations: 0 / 0.8189 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of Templates: time 0.01133/0.03922, allocations: 9.879 MB / 0.8286 GB, free: 15.92 MB / 0.7917 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.578964003827423]