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.001442/0.001442, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001561/0.001561, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.509/1.509, allocations: 177.1 MB / 203.9 MB, free: 5.594 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 2.811/2.811, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 177] 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.734e-06/1.734e-06, allocations: 0 / 0.8109 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.044e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001759/0.001789, allocations: 0.6306 MB / 0.8115 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004622/0.002252, allocations: 188 kB / 0.8117 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.002283, allocations: 0 / 0.8117 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.002296, allocations: 0.5312 kB / 0.8117 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.002449, allocations: 5.25 kB / 0.8117 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.002693, allocations: 79.62 kB / 0.8117 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.684e-05/0.00276, allocations: 27.91 kB / 0.8118 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.002798, allocations: 5.031 kB / 0.8118 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.677e-05/0.002855, allocations: 19.97 kB / 0.8118 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.752e-05/0.002912, allocations: 15.92 kB / 0.8118 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.00293, allocations: 4.781 kB / 0.8118 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.003053, allocations: 47.88 kB / 0.8119 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.003071, allocations: 5.688 kB / 0.8119 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.003101, allocations: 15.91 kB / 0.8119 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.003289, allocations: 95.72 kB / 0.812 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003291, allocations: 0 / 0.812 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.82e-07/0.003292, allocations: 1.531 kB / 0.812 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.003295, allocations: 0 / 0.812 GB, free: 0.9297 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.0005732/0.003869, allocations: 290.1 kB / 0.8122 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.003913, allocations: 13.22 kB / 0.8123 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.003958, allocations: 4.891 kB / 0.8123 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.0041, allocations: 117.8 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.004114, allocations: 5.953 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.004139, allocations: 8.328 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.004305, allocations: 54.17 kB / 0.8124 GB, free: 396 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.004315, allocations: 2.781 kB / 0.8124 GB, free: 396 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.004324, allocations: 384 / 0.8124 GB, free: 396 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.004328, allocations: 384 / 0.8124 GB, free: 396 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.004472, allocations: 35.91 kB / 0.8125 GB, free: 360 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.004766, allocations: 200.6 kB / 0.8127 GB, free: 128 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.004999, allocations: 71.19 kB / 0.8127 GB, free: 48 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.804e-05/0.005077, allocations: 27.12 kB / 0.8128 GB, free: 20 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.005091, allocations: 0 / 0.8128 GB, free: 20 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.005142, allocations: 30.56 kB / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.005142, allocations: 0 / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.02832/0.03346, allocations: 1.623 MB / 0.8144 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.03351, allocations: 51.41 kB / 0.8144 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.03366, allocations: 118.9 kB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.001e-05/0.03374, allocations: 25.7 kB / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.03381, allocations: 89.22 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.525e-05/0.0339, allocations: 27.78 kB / 0.8147 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.03413, allocations: 25.7 kB / 0.8147 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.03432, allocations: 319.6 kB / 0.815 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005285/0.03484, allocations: 145.1 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.03536, allocations: 137.9 kB / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.03644, allocations: 298.7 kB / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.03644, allocations: 0 / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001351/0.0378, allocations: 350.8 kB / 0.8159 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.03782, allocations: 9.281 kB / 0.8159 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.03782, allocations: 0 / 0.8159 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.03785, allocations: 7.984 kB / 0.8159 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.03941, allocations: 55.94 kB / 0.816 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.03942, allocations: 4.062 kB / 0.816 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.04074, allocations: 49.69 kB / 0.816 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/0.0408, allocations: 4 kB / 0.816 GB, free: 12.65 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.0002115/0.04101, allocations: 117.8 kB / 0.8161 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.04116, allocations: 11.89 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.04129, allocations: 17.03 kB / 0.8162 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.0413, allocations: 4 kB / 0.8162 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.04131, allocations: 7.984 kB / 0.8162 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.04131, allocations: 4 kB / 0.8162 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005668/0.04698, allocations: 0.7049 MB / 0.8169 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.04698, allocations: 4.062 kB / 0.8169 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.04807, allocations: 59.88 kB / 0.8169 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.04807, allocations: 432 / 0.8169 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/0.04813, allocations: 4 kB / 0.8169 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.04813, allocations: 0 / 0.8169 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.04813, allocations: 0 / 0.8169 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.0492, allocations: 325.1 kB / 0.8172 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.04922, allocations: 11.94 kB / 0.8172 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.042e-05/0.04929, allocations: 3.984 kB / 0.8173 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.05033, allocations: 39.95 kB / 0.8173 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.05035, allocations: 7.938 kB / 0.8173 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/0.05039, allocations: 7.984 kB / 0.8173 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.473e-05/0.05048, allocations: 95.27 kB / 0.8174 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.05048, allocations: 0 / 0.8174 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004442/0.05092, allocations: 99.81 kB / 0.8175 GB, free: 11.07 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.0002698/0.05119, allocations: 115.2 kB / 0.8176 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.05224, allocations: 243.8 kB / 0.8178 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.05224, allocations: 0 / 0.8178 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.05267, allocations: 99.95 kB / 0.8179 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.05299, allocations: 17.88 kB / 0.8179 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.05583, allocations: 298 kB / 0.8182 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.337e-05/0.05591, allocations: 71.33 kB / 0.8183 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004687/0.05638, allocations: 52 kB / 0.8183 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004827/0.05686, allocations: 16.48 kB / 0.8184 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of SimCode: time 9.92e-07/0.05686, allocations: 4 kB / 0.8184 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of Templates: time 0.01662/0.07348, allocations: 9.755 MB / 0.8279 GB, free: 328 kB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400] 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.092964592040516]