Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002441/0.002441, allocations: 87.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.002805/0.002805, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.625/1.625, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.884/2.884, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.7864 GB, free: 11.65 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.125e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.65 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001778/0.001809, allocations: 0.6387 MB / 0.7871 GB, free: 11.03 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004695/0.002279, allocations: 184.9 kB / 0.7872 GB, free: 10.85 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.002311, allocations: 0 / 0.7872 GB, free: 10.85 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.002326, allocations: 3.938 kB / 0.7872 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.00248, allocations: 0.7188 kB / 0.7872 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.002697, allocations: 84.47 kB / 0.7873 GB, free: 10.76 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.398e-05/0.002761, allocations: 27.91 kB / 0.7873 GB, free: 10.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.002802, allocations: 4.969 kB / 0.7874 GB, free: 10.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.455e-05/0.002856, allocations: 11.98 kB / 0.7874 GB, free: 10.72 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.002926, allocations: 23.91 kB / 0.7874 GB, free: 10.7 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.002947, allocations: 4.625 kB / 0.7874 GB, free: 10.69 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.003071, allocations: 52.31 kB / 0.7874 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.003085, allocations: 0 / 0.7874 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.003122, allocations: 17.05 kB / 0.7875 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.003307, allocations: 87.83 kB / 0.7875 GB, free: 10.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003309, allocations: 0 / 0.7875 GB, free: 10.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.81e-07/0.00331, allocations: 1.844 kB / 0.7875 GB, free: 10.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.003314, allocations: 0 / 0.7875 GB, free: 10.54 MB / 0.698 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.0006119/0.003926, allocations: 396 kB / 0.7879 GB, free: 10.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.003964, allocations: 15.97 kB / 0.7879 GB, free: 10.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.004008, allocations: 5.641 kB / 0.7879 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.004167, allocations: 116.6 kB / 0.7881 GB, free: 9.953 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.004179, allocations: 1.125 kB / 0.7881 GB, free: 9.953 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.004201, allocations: 8.375 kB / 0.7881 GB, free: 9.945 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.004344, allocations: 51.52 kB / 0.7881 GB, free: 9.891 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.004354, allocations: 192 / 0.7881 GB, free: 9.891 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.004363, allocations: 384 / 0.7881 GB, free: 9.891 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.004368, allocations: 1.781 kB / 0.7881 GB, free: 9.891 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.004487, allocations: 31.91 kB / 0.7881 GB, free: 9.859 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.004826, allocations: 247.8 kB / 0.7884 GB, free: 9.582 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.005049, allocations: 68.03 kB / 0.7884 GB, free: 9.504 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.435e-05/0.005124, allocations: 33.22 kB / 0.7885 GB, free: 9.469 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.005142, allocations: 0 / 0.7885 GB, free: 9.469 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.005175, allocations: 33.39 kB / 0.7885 GB, free: 9.426 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.005176, allocations: 0 / 0.7885 GB, free: 9.426 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0316/0.03678, allocations: 1.708 MB / 0.7902 GB, free: 7.734 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.03683, allocations: 55.34 kB / 0.7902 GB, free: 7.668 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.03702, allocations: 181.8 kB / 0.7904 GB, free: 7.473 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.559e-05/0.03709, allocations: 29.7 kB / 0.7904 GB, free: 7.438 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.0374, allocations: 130.9 kB / 0.7906 GB, free: 7.305 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.08e-05/0.03748, allocations: 27.73 kB / 0.7906 GB, free: 7.277 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.03771, allocations: 35.36 kB / 0.7906 GB, free: 7.234 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002742/0.03798, allocations: 0.4884 MB / 0.7911 GB, free: 6.734 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005506/0.03853, allocations: 182.4 kB / 0.7913 GB, free: 6.559 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.03908, allocations: 183.9 kB / 0.7914 GB, free: 6.379 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.0402, allocations: 377.7 kB / 0.7918 GB, free: 6.008 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.0402, allocations: 0 / 0.7918 GB, free: 6.008 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001394/0.0416, allocations: 417.5 kB / 0.7922 GB, free: 5.594 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.04161, allocations: 4 kB / 0.7922 GB, free: 5.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.04162, allocations: 0.5 kB / 0.7922 GB, free: 5.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.04163, allocations: 0.9062 kB / 0.7922 GB, free: 5.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.04338, allocations: 59.88 kB / 0.7923 GB, free: 5.531 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.04339, allocations: 0.8438 kB / 0.7923 GB, free: 5.531 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.04492, allocations: 39.95 kB / 0.7923 GB, free: 5.492 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.615e-05/0.04499, allocations: 9.328 kB / 0.7923 GB, free: 5.484 MB / 0.698 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.0002126/0.0452, allocations: 164.5 kB / 0.7925 GB, free: 5.312 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.04534, allocations: 11.89 kB / 0.7925 GB, free: 5.301 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.04546, allocations: 16.41 kB / 0.7925 GB, free: 5.293 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.04546, allocations: 5.031 kB / 0.7925 GB, free: 5.289 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.04547, allocations: 0 / 0.7925 GB, free: 5.289 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.04547, allocations: 0 / 0.7925 GB, free: 5.289 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006656/0.05213, allocations: 0.7549 MB / 0.7932 GB, free: 4.484 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.05213, allocations: 1.344 kB / 0.7932 GB, free: 4.484 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.0534, allocations: 47.95 kB / 0.7933 GB, free: 4.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.05341, allocations: 0 / 0.7933 GB, free: 4.438 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.05346, allocations: 4.844 kB / 0.7933 GB, free: 4.434 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.05346, allocations: 0 / 0.7933 GB, free: 4.434 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.05347, allocations: 5.328 kB / 0.7933 GB, free: 4.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.05455, allocations: 383.1 kB / 0.7937 GB, free: 4.027 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.05457, allocations: 12.66 kB / 0.7937 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.792e-05/0.05465, allocations: 8.656 kB / 0.7937 GB, free: 4.008 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.05584, allocations: 27.97 kB / 0.7937 GB, free: 3.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.05587, allocations: 12.05 kB / 0.7937 GB, free: 3.969 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.05591, allocations: 4 kB / 0.7937 GB, free: 3.965 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001121/0.05603, allocations: 139.2 kB / 0.7939 GB, free: 3.828 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.05603, allocations: 0 / 0.7939 GB, free: 3.828 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004313/0.05646, allocations: 95.88 kB / 0.7939 GB, free: 3.734 MB / 0.698 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.0002473/0.05671, allocations: 119.1 kB / 0.7941 GB, free: 3.609 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.05779, allocations: 295.5 kB / 0.7943 GB, free: 3.316 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.0578, allocations: 4 kB / 0.7943 GB, free: 3.312 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004305/0.05823, allocations: 103.6 kB / 0.7944 GB, free: 3.207 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.05853, allocations: 17.11 kB / 0.7945 GB, free: 3.191 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.06158, allocations: 304.2 kB / 0.7947 GB, free: 2.859 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.133e-05/0.06167, allocations: 71.33 kB / 0.7948 GB, free: 2.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004558/0.06212, allocations: 52.12 kB / 0.7949 GB, free: 2.719 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/0.06258, allocations: 20.48 kB / 0.7949 GB, free: 2.699 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/0.06258, allocations: 3.938 kB / 0.7949 GB, free: 2.695 MB / 0.698 GB Notification: Performance of Templates: time 0.02457/0.08715, allocations: 9.888 MB / 0.8045 GB, free: 8.766 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.279749328969046]