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.001123/0.001123, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001368/0.001368, allocations: 163.7 kB / 24.86 MB, free: 9.285 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.9815/0.9815, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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 1.766/1.766, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] 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.412e-06/1.412e-06, allocations: 0 / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.797e-05, allocations: 4.844 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002002/0.00203, allocations: 0.649 MB / 0.789 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000453/0.002483, allocations: 179.8 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.002528, allocations: 0.75 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.002548, allocations: 3.938 kB / 0.7892 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.002718, allocations: 9.375 kB / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.002943, allocations: 71.75 kB / 0.7893 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.407e-05/0.003017, allocations: 27.91 kB / 0.7893 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.003066, allocations: 7.156 kB / 0.7893 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.67e-05/0.003123, allocations: 19.92 kB / 0.7893 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.488e-05/0.003187, allocations: 15.97 kB / 0.7893 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.003204, allocations: 4 kB / 0.7893 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.003328, allocations: 51.81 kB / 0.7894 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.003351, allocations: 7.938 kB / 0.7894 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.00337, allocations: 7.984 kB / 0.7894 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.003548, allocations: 99.7 kB / 0.7895 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.003552, allocations: 1.062 kB / 0.7895 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.003553, allocations: 0 / 0.7895 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.003558, allocations: 0 / 0.7895 GB, free: 11.02 MB / 0.7448 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.0004788/0.004036, allocations: 381 kB / 0.7898 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.004076, allocations: 13.28 kB / 0.7899 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.004115, allocations: 12.89 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.004228, allocations: 124.4 kB / 0.79 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.00424, allocations: 1.25 kB / 0.79 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.00426, allocations: 4.375 kB / 0.79 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.004389, allocations: 59.44 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.004399, allocations: 0.8438 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.004407, allocations: 4.375 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.004412, allocations: 1 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.679e-05/0.004448, allocations: 15.92 kB / 0.7901 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.004695, allocations: 225.8 kB / 0.7903 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.103e-05/0.004786, allocations: 46.97 kB / 0.7903 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.004813, allocations: 15.77 kB / 0.7903 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.004827, allocations: 5.625 kB / 0.7904 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.004853, allocations: 37.45 kB / 0.7904 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.004854, allocations: 3.938 kB / 0.7904 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.02068/0.02554, allocations: 1.431 MB / 0.7918 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.02558, allocations: 57.06 kB / 0.7918 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.0257, allocations: 173.9 kB / 0.792 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.02576, allocations: 33.69 kB / 0.792 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.02584, allocations: 138.8 kB / 0.7922 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.488e-05/0.02591, allocations: 23.8 kB / 0.7922 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.02612, allocations: 32.05 kB / 0.7922 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.02627, allocations: 0.4884 MB / 0.7927 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.02653, allocations: 84.62 kB / 0.7928 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.0268, allocations: 79.97 kB / 0.7929 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.02738, allocations: 189.3 kB / 0.793 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.02738, allocations: 3.938 kB / 0.793 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008344/0.02822, allocations: 214.2 kB / 0.7933 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.02824, allocations: 9.5 kB / 0.7933 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.02825, allocations: 0.875 kB / 0.7933 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.02826, allocations: 0 / 0.7933 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.02946, allocations: 63.59 kB / 0.7933 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.02947, allocations: 4 kB / 0.7933 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009765/0.03045, allocations: 43.95 kB / 0.7934 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/0.03051, allocations: 3.984 kB / 0.7934 GB, free: 6.871 MB / 0.7448 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.0001796/0.03069, allocations: 156.6 kB / 0.7935 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.03082, allocations: 15.89 kB / 0.7935 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.03094, allocations: 16.91 kB / 0.7936 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.03095, allocations: 4 kB / 0.7936 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.03095, allocations: 0 / 0.7936 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.03095, allocations: 0 / 0.7936 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004244/0.03519, allocations: 0.6282 MB / 0.7942 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.0352, allocations: 0 / 0.7942 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008339/0.03603, allocations: 43.95 kB / 0.7942 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.03604, allocations: 7.984 kB / 0.7942 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/0.03609, allocations: 0 / 0.7942 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.03609, allocations: 0 / 0.7942 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.03609, allocations: 4 kB / 0.7942 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006667/0.03676, allocations: 279 kB / 0.7945 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.03678, allocations: 3.984 kB / 0.7945 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.03685, allocations: 12.06 kB / 0.7945 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007391/0.03759, allocations: 31.97 kB / 0.7945 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.778e-05/0.0376, allocations: 3.984 kB / 0.7945 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/0.03765, allocations: 4 kB / 0.7945 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.737e-05/0.03772, allocations: 135.2 kB / 0.7947 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.03772, allocations: 0 / 0.7947 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004745/0.03819, allocations: 95.92 kB / 0.7948 GB, free: 5.375 MB / 0.7448 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.0002232/0.03841, allocations: 111.2 kB / 0.7949 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006136/0.03903, allocations: 155.6 kB / 0.795 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.03903, allocations: 0 / 0.795 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.03926, allocations: 55.66 kB / 0.7951 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.03961, allocations: 11.94 kB / 0.7951 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.0416, allocations: 257.3 kB / 0.7953 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.664e-05/0.04164, allocations: 59.34 kB / 0.7954 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004231/0.04207, allocations: 52.12 kB / 0.7954 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008161/0.04288, allocations: 86.19 kB / 0.7955 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of SimCode: time 1.973e-06/0.04289, allocations: 0 / 0.7955 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of Templates: time 0.009231/0.05212, allocations: 10.3 MB / 0.8056 GB, free: 10.18 MB / 0.7605 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","",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.4186196541413665]