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.002371/0.002371, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002814/0.002814, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.592/1.592, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.025/3.025, allocations: 377.9 MB / 0.6232 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 176] 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 1.433e-06/1.433e-06, allocations: 0 / 0.8109 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.869e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001708/0.001736, allocations: 0.6426 MB / 0.8115 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004363/0.002173, allocations: 180 kB / 0.8117 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.002203, allocations: 4 kB / 0.8117 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.174e-05/0.002214, allocations: 0 / 0.8117 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.002369, allocations: 12.89 kB / 0.8117 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.00258, allocations: 72.53 kB / 0.8117 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.496e-05/0.002645, allocations: 27.92 kB / 0.8118 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.002685, allocations: 9.672 kB / 0.8118 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.605e-05/0.002741, allocations: 15.92 kB / 0.8118 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.167e-05/0.002803, allocations: 19.91 kB / 0.8118 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.002821, allocations: 7.938 kB / 0.8118 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.002936, allocations: 39.95 kB / 0.8119 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.002961, allocations: 13.45 kB / 0.8119 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.002984, allocations: 8 kB / 0.8119 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.003178, allocations: 99.69 kB / 0.812 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.00318, allocations: 0 / 0.812 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.91e-07/0.00318, allocations: 0.5938 kB / 0.812 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.003184, allocations: 0.9375 kB / 0.812 GB, free: 0.9531 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.0005947/0.003778, allocations: 384 kB / 0.8123 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.003818, allocations: 13.62 kB / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.003861, allocations: 4.891 kB / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.00401, allocations: 120.6 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.004021, allocations: 384 / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.004043, allocations: 10.92 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.004189, allocations: 54.17 kB / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.0042, allocations: 192 / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.004208, allocations: 384 / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.004212, allocations: 384 / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.004331, allocations: 31.92 kB / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.00467, allocations: 252.3 kB / 0.8128 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.004868, allocations: 63.88 kB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.039e-05/0.004938, allocations: 32.23 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.004956, allocations: 5.594 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.004989, allocations: 33.39 kB / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.004989, allocations: 0 / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.03077/0.03576, allocations: 1.69 MB / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.03581, allocations: 52.97 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.03598, allocations: 181.9 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/0.03604, allocations: 25.7 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.887e-05/0.03614, allocations: 138.8 kB / 0.815 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.589e-05/0.03621, allocations: 28.81 kB / 0.815 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.03644, allocations: 31.36 kB / 0.815 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002776/0.03672, allocations: 0.4884 MB / 0.8155 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005401/0.03726, allocations: 185.1 kB / 0.8157 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005374/0.03779, allocations: 184.9 kB / 0.8159 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.03889, allocations: 372.7 kB / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.0389, allocations: 0 / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001363/0.04026, allocations: 418.9 kB / 0.8166 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.04028, allocations: 4 kB / 0.8166 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.04028, allocations: 0.9062 kB / 0.8166 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.0403, allocations: 0 / 0.8166 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.04201, allocations: 61.81 kB / 0.8167 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.04201, allocations: 80 / 0.8167 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.04352, allocations: 43.95 kB / 0.8167 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/0.04359, allocations: 8.406 kB / 0.8167 GB, free: 11.91 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.0002111/0.0438, allocations: 169.8 kB / 0.8169 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.04392, allocations: 11.89 kB / 0.8169 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.04405, allocations: 19 kB / 0.8169 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.04406, allocations: 7.984 kB / 0.8169 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.04406, allocations: 0 / 0.8169 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.04406, allocations: 0 / 0.8169 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006372/0.05043, allocations: 0.7526 MB / 0.8177 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.05044, allocations: 4.062 kB / 0.8177 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.05167, allocations: 51.94 kB / 0.8177 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.05168, allocations: 0 / 0.8177 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/0.05173, allocations: 7.938 kB / 0.8177 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.05173, allocations: 3.938 kB / 0.8177 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.05173, allocations: 0 / 0.8177 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.05277, allocations: 379.2 kB / 0.8181 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.05279, allocations: 7.953 kB / 0.8181 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.05286, allocations: 8 kB / 0.8181 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.05401, allocations: 35.95 kB / 0.8181 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.05403, allocations: 7.984 kB / 0.8181 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.05407, allocations: 4 kB / 0.8182 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000113/0.05419, allocations: 143.1 kB / 0.8183 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.05419, allocations: 0 / 0.8183 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004094/0.05459, allocations: 99.81 kB / 0.8184 GB, free: 10.14 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.0002159/0.05481, allocations: 111.2 kB / 0.8185 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.05585, allocations: 296.5 kB / 0.8188 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.05585, allocations: 4 kB / 0.8188 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.05629, allocations: 103.6 kB / 0.8189 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.05656, allocations: 11.94 kB / 0.8189 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.05954, allocations: 305.4 kB / 0.8192 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.894e-05/0.05962, allocations: 77.52 kB / 0.8192 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004451/0.06007, allocations: 48 kB / 0.8193 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004506/0.06052, allocations: 20.48 kB / 0.8193 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.06052, allocations: 0 / 0.8193 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of Templates: time 0.01611/0.07663, allocations: 9.878 MB / 0.829 GB, free: 15.2 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.633889919961803]