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.001087/0.001087, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001256/0.001256, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.003/1.003, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.209/2.209, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.193e-06/1.193e-06, allocations: 0 / 0.8795 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.13e-05, allocations: 2.312 kB / 0.8795 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001195/0.001216, allocations: 0.6513 MB / 0.8801 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003155/0.001532, allocations: 175.6 kB / 0.8803 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.001569, allocations: 0.5 kB / 0.8803 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.001585, allocations: 5.875 kB / 0.8803 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.001736, allocations: 12.14 kB / 0.8803 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.00189, allocations: 75.73 kB / 0.8803 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.314e-05/0.001953, allocations: 23.92 kB / 0.8804 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.001997, allocations: 13.33 kB / 0.8804 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.249e-05/0.00204, allocations: 15.92 kB / 0.8804 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.002093, allocations: 15.97 kB / 0.8804 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.002106, allocations: 1.094 kB / 0.8804 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.002194, allocations: 43.89 kB / 0.8805 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.002212, allocations: 19.91 kB / 0.8805 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.5e-05/0.002227, allocations: 8.656 kB / 0.8805 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.002347, allocations: 95.66 kB / 0.8806 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002349, allocations: 3.688 kB / 0.8806 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.62e-07/0.00235, allocations: 0 / 0.8806 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.002354, allocations: 3.984 kB / 0.8806 GB, free: 4.867 MB / 0.8386 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.0003723/0.002726, allocations: 388.4 kB / 0.881 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.00276, allocations: 12.03 kB / 0.881 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/0.003102, allocations: 52.84 kB / 0.881 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.271e-05/0.003195, allocations: 120.5 kB / 0.8811 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.003208, allocations: 4.375 kB / 0.8811 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.003225, allocations: 2.156 kB / 0.8811 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.003348, allocations: 86.83 kB / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.003357, allocations: 192 / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.003367, allocations: 384 / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.003372, allocations: 1.406 kB / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.021e-05/0.003433, allocations: 27.92 kB / 0.8812 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.003625, allocations: 232.4 kB / 0.8815 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.003745, allocations: 64.11 kB / 0.8815 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.00379, allocations: 31.77 kB / 0.8816 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.003802, allocations: 1.594 kB / 0.8816 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.003824, allocations: 37.39 kB / 0.8816 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.003825, allocations: 0 / 0.8816 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.01204/0.01586, allocations: 1.324 MB / 0.8829 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.01589, allocations: 51.41 kB / 0.8829 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.01598, allocations: 177.9 kB / 0.8831 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.01602, allocations: 25.7 kB / 0.8831 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.01608, allocations: 134.8 kB / 0.8833 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.01613, allocations: 27.8 kB / 0.8833 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.01627, allocations: 35.3 kB / 0.8833 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.01637, allocations: 496.1 kB / 0.8838 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.01657, allocations: 91.95 kB / 0.8839 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.01676, allocations: 87.97 kB / 0.884 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.01716, allocations: 204.2 kB / 0.8842 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.01716, allocations: 0 / 0.8842 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005737/0.01773, allocations: 241.5 kB / 0.8844 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.01775, allocations: 7.938 kB / 0.8844 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.01776, allocations: 4 kB / 0.8844 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.01777, allocations: 0 / 0.8844 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007604/0.01853, allocations: 59.92 kB / 0.8845 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.01854, allocations: 0 / 0.8845 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/0.01915, allocations: 43.95 kB / 0.8845 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.01919, allocations: 0 / 0.8845 GB, free: 0.6602 MB / 0.8386 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.0001312/0.01932, allocations: 168.5 kB / 0.8847 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.45e-05/0.0194, allocations: 11.89 kB / 0.8847 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.475e-05/0.01949, allocations: 20.42 kB / 0.8847 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01949, allocations: 4 kB / 0.8847 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.01949, allocations: 0 / 0.8847 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.0195, allocations: 0 / 0.8847 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.02206, allocations: 0.6477 MB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.02206, allocations: 0 / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.02258, allocations: 51.89 kB / 0.8854 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.02259, allocations: 7.984 kB / 0.8854 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.02261, allocations: 3.938 kB / 0.8854 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.02261, allocations: 0 / 0.8854 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.02262, allocations: 0 / 0.8854 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.02307, allocations: 287.2 kB / 0.8857 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.02308, allocations: 3.953 kB / 0.8857 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.02313, allocations: 8.062 kB / 0.8857 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/0.0236, allocations: 35.95 kB / 0.8857 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.02361, allocations: 7.938 kB / 0.8857 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.02364, allocations: 7.984 kB / 0.8857 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.02369, allocations: 139.2 kB / 0.8859 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02369, allocations: 0 / 0.8859 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002563/0.02394, allocations: 88 kB / 0.8859 GB, free: 15.1 MB / 0.8542 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.0001288/0.02407, allocations: 99.25 kB / 0.886 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004208/0.02449, allocations: 155.6 kB / 0.8862 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.02449, allocations: 4 kB / 0.8862 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.02467, allocations: 59.59 kB / 0.8862 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.02488, allocations: 20.11 kB / 0.8863 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.02614, allocations: 261.4 kB / 0.8865 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.286e-05/0.02617, allocations: 63.34 kB / 0.8866 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002826/0.02645, allocations: 56.12 kB / 0.8866 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004821/0.02693, allocations: 82.19 kB / 0.8867 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.02693, allocations: 0 / 0.8867 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of Templates: time 0.01041/0.03735, allocations: 10.8 MB / 0.8973 GB, free: 3.371 MB / 0.8542 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/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.885095893871039]