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.001014/0.001014, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001198/0.001198, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9891/0.9891, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.119/2.119, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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 2.034e-06/2.034e-06, allocations: 0 / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.641e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001791/0.001818, allocations: 0.6673 MB / 0.8789 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004823/0.0023, allocations: 174.8 kB / 0.879 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.002337, allocations: 0.5469 kB / 0.879 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.00236, allocations: 1.344 kB / 0.879 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.002552, allocations: 13.28 kB / 0.8791 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.002804, allocations: 71.75 kB / 0.8791 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.198e-05/0.002886, allocations: 28.7 kB / 0.8792 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.002933, allocations: 4 kB / 0.8792 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.00299, allocations: 20.58 kB / 0.8792 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.003058, allocations: 17.55 kB / 0.8792 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.003078, allocations: 7.938 kB / 0.8792 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.003214, allocations: 47.89 kB / 0.8792 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.003235, allocations: 3.984 kB / 0.8792 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.00326, allocations: 11.94 kB / 0.8793 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.003451, allocations: 105.9 kB / 0.8794 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003453, allocations: 0 / 0.8794 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003454, allocations: 0 / 0.8794 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.003459, allocations: 0 / 0.8794 GB, free: 5.109 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.0005296/0.003989, allocations: 388.4 kB / 0.8797 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.004032, allocations: 10.28 kB / 0.8797 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005459/0.004578, allocations: 56.84 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.004713, allocations: 124.5 kB / 0.8799 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.004726, allocations: 384 / 0.8799 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.004767, allocations: 4.375 kB / 0.8799 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.004968, allocations: 83.61 kB / 0.88 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.004981, allocations: 4.125 kB / 0.88 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.004999, allocations: 5.719 kB / 0.88 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.005008, allocations: 384 / 0.88 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.005146, allocations: 39.91 kB / 0.88 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.005435, allocations: 247.8 kB / 0.8803 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.005666, allocations: 75.11 kB / 0.8804 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.005749, allocations: 23.77 kB / 0.8804 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.005777, allocations: 7.938 kB / 0.8804 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.005805, allocations: 37.39 kB / 0.8804 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.005806, allocations: 0 / 0.8804 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.01817/0.02398, allocations: 1.375 MB / 0.8818 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.02401, allocations: 51.41 kB / 0.8818 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.02413, allocations: 177.9 kB / 0.882 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.02418, allocations: 25.7 kB / 0.882 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.02424, allocations: 138.8 kB / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.02429, allocations: 31.73 kB / 0.8822 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.02444, allocations: 31.36 kB / 0.8822 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.02455, allocations: 0.4884 MB / 0.8827 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.02482, allocations: 112 kB / 0.8828 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.02509, allocations: 119.9 kB / 0.8829 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/0.02568, allocations: 232.2 kB / 0.8831 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.02569, allocations: 0 / 0.8831 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007579/0.02644, allocations: 297.4 kB / 0.8834 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.02646, allocations: 8 kB / 0.8834 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.02647, allocations: 0 / 0.8834 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.02649, allocations: 0 / 0.8834 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000744/0.02724, allocations: 59.94 kB / 0.8835 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.02724, allocations: 0 / 0.8835 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/0.02784, allocations: 43.95 kB / 0.8835 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.02788, allocations: 3.984 kB / 0.8835 GB, free: 0.6484 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.0001366/0.02802, allocations: 164.5 kB / 0.8837 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.748e-05/0.02811, allocations: 11.89 kB / 0.8837 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.83e-05/0.02819, allocations: 20.44 kB / 0.8837 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.0282, allocations: 4 kB / 0.8837 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.0282, allocations: 0 / 0.8837 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.02821, allocations: 0 / 0.8837 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.03093, allocations: 0.6745 MB / 0.8844 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.03093, allocations: 0 / 0.8844 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/0.03145, allocations: 52.02 kB / 0.8844 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.03145, allocations: 0 / 0.8844 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.03149, allocations: 7.984 kB / 0.8844 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.0315, allocations: 7.938 kB / 0.8844 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.0315, allocations: 0 / 0.8844 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.03212, allocations: 307.2 kB / 0.8847 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.03213, allocations: 7.953 kB / 0.8847 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.03218, allocations: 4 kB / 0.8847 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.03265, allocations: 39.95 kB / 0.8848 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.03267, allocations: 8 kB / 0.8848 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.0327, allocations: 7.984 kB / 0.8848 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.143e-05/0.03275, allocations: 143 kB / 0.8849 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.03275, allocations: 0 / 0.8849 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002669/0.03302, allocations: 91.94 kB / 0.885 GB, free: 15.02 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.0001384/0.03315, allocations: 95.25 kB / 0.8851 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005635/0.03372, allocations: 191.6 kB / 0.8853 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.03372, allocations: 0 / 0.8853 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.03394, allocations: 71.66 kB / 0.8853 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.03416, allocations: 20.05 kB / 0.8854 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.03553, allocations: 277.9 kB / 0.8856 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.737e-05/0.03557, allocations: 59.34 kB / 0.8857 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002591/0.03583, allocations: 60 kB / 0.8857 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/0.03621, allocations: 16.48 kB / 0.8858 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.03621, allocations: 0 / 0.8858 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of Templates: time 0.01075/0.04695, allocations: 10.39 MB / 0.8959 GB, free: 3.719 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.824483131989837]