Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008047/0.0008047, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001164/0.001968, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007409/0.0007409, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009596/0.001701, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9839/0.9839, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07987/1.064, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.425/2.425, allocations: 447.1 MB / 0.675 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.251/2.676, allocations: 146 MB / 0.8176 GB, free: 3.785 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.819 GB, free: 2.395 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.724e-05, allocations: 2.312 kB / 0.819 GB, free: 2.391 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001882/0.00191, allocations: 0.6968 MB / 0.8197 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003151/0.002225, allocations: 187 kB / 0.8198 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.002253, allocations: 0 / 0.8198 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.083e-06/0.002261, allocations: 3.938 kB / 0.8198 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.888e-05/0.002339, allocations: 7.938 kB / 0.8199 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.002541, allocations: 79.67 kB / 0.8199 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.341e-05/0.002614, allocations: 27.92 kB / 0.82 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.002662, allocations: 4 kB / 0.82 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.002768, allocations: 31.91 kB / 0.82 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.807e-05/0.002846, allocations: 11.98 kB / 0.82 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.002864, allocations: 4 kB / 0.82 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.003008, allocations: 51.81 kB / 0.8201 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.00303, allocations: 4 kB / 0.8201 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.00305, allocations: 7.938 kB / 0.8201 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.003228, allocations: 87.8 kB / 0.8202 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.24e-05/0.00324, allocations: 0 / 0.8202 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003241, allocations: 0 / 0.8202 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.003255, allocations: 4 kB / 0.8202 GB, free: 1.184 MB / 0.7917 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.0004782/0.003733, allocations: 272.3 kB / 0.8204 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.003769, allocations: 8.031 kB / 0.8204 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004251/0.004194, allocations: 134 kB / 0.8206 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.004301, allocations: 121.7 kB / 0.8207 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.004312, allocations: 384 / 0.8207 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.004341, allocations: 4.375 kB / 0.8207 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.004485, allocations: 82.83 kB / 0.8208 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.004494, allocations: 192 / 0.8208 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.004507, allocations: 4.375 kB / 0.8208 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.004515, allocations: 8.359 kB / 0.8208 GB, free: 496 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.004582, allocations: 23.92 kB / 0.8208 GB, free: 472 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.004774, allocations: 144.3 kB / 0.8209 GB, free: 312 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.00491, allocations: 50.62 kB / 0.821 GB, free: 252 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.191e-05/0.004951, allocations: 20.8 kB / 0.821 GB, free: 228 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.004967, allocations: 0 / 0.821 GB, free: 228 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.004989, allocations: 30.66 kB / 0.821 GB, free: 188 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.00499, allocations: 4 kB / 0.821 GB, free: 184 kB / 0.7917 GB Notification: Performance of matching and sorting (n=8): time 0.01044/0.01543, allocations: 1.265 MB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.01546, allocations: 51.41 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.01553, allocations: 118.7 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/0.01558, allocations: 25.7 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.01562, allocations: 88.08 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.718e-05/0.01567, allocations: 27.78 kB / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.01579, allocations: 29.66 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.01586, allocations: 314.8 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.01602, allocations: 79.92 kB / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.01617, allocations: 72 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.01649, allocations: 164.8 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.01649, allocations: 0 / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004038/0.0169, allocations: 189.6 kB / 0.8234 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01691, allocations: 7.938 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01692, allocations: 0 / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.01693, allocations: 4 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007154/0.01765, allocations: 63.92 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.01765, allocations: 3.938 kB / 0.8234 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.01811, allocations: 47.95 kB / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.01814, allocations: 4 kB / 0.8235 GB, free: 13.58 MB / 0.8073 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.000114/0.01826, allocations: 117.8 kB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.01832, allocations: 11.98 kB / 0.8236 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.003e-05/0.0184, allocations: 20.38 kB / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.0184, allocations: 0 / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01841, allocations: 0 / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01841, allocations: 4 kB / 0.8236 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.0204, allocations: 484.1 kB / 0.8241 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.0204, allocations: 0 / 0.8241 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/0.02092, allocations: 55.94 kB / 0.8242 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.02094, allocations: 11.94 kB / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.02095, allocations: 4 kB / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.02098, allocations: 0 / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.02098, allocations: 3.938 kB / 0.8242 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.02099, allocations: 4 kB / 0.8242 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.02132, allocations: 205.2 kB / 0.8244 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.02136, allocations: 8.062 kB / 0.8244 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.02173, allocations: 39.95 kB / 0.8244 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.02174, allocations: 7.984 kB / 0.8244 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.02177, allocations: 432 / 0.8244 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.349e-05/0.02179, allocations: 25.44 kB / 0.8245 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.02179, allocations: 0 / 0.8245 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002217/0.02201, allocations: 92 kB / 0.8245 GB, free: 12.45 MB / 0.8073 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.0001363/0.02215, allocations: 84.41 kB / 0.8246 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000356/0.0225, allocations: 137.1 kB / 0.8248 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.02251, allocations: 0 / 0.8248 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.02265, allocations: 56.77 kB / 0.8248 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.02283, allocations: 23.3 kB / 0.8248 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.02389, allocations: 254 kB / 0.8251 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.02393, allocations: 57.61 kB / 0.8251 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002744/0.0242, allocations: 64.17 kB / 0.8252 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/0.02468, allocations: 55.38 kB / 0.8252 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of SimCode: time 1.152e-06/0.02468, allocations: 0 / 0.8252 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of Templates: time 0.01411/0.03879, allocations: 10.37 MB / 0.8354 GB, free: 1.273 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.417092328891158]