Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000979/0.0009788, allocations: 102.4 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.17/2.17, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 68.09 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2512, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001568/0.2528, allocations: 0.6444 MB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003456/0.2532, allocations: 199 kB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.2532, allocations: 0 / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.2533, allocations: 0 / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.2534, allocations: 15.86 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.2536, allocations: 75.81 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.194e-05/0.2536, allocations: 27.91 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.2537, allocations: 11.98 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.82e-05/0.2537, allocations: 11.94 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.2538, allocations: 19.91 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.2538, allocations: 4 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.254, allocations: 107.7 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.254, allocations: 7.984 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.254, allocations: 19.86 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.2542, allocations: 99.75 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2542, allocations: 0 / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2542, allocations: 0 / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.2542, allocations: 4 kB / 1.02 GB, free: 8.625 MB / 0.795 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.0004447/0.2546, allocations: 375.3 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.2547, allocations: 8.922 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.2547, allocations: 0.9375 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.2548, allocations: 176.3 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.2548, allocations: 4.312 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.2549, allocations: 384 / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.255, allocations: 62.22 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.255, allocations: 192 / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.255, allocations: 7.938 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.255, allocations: 0 / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.2551, allocations: 31.91 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.2554, allocations: 248.9 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.2556, allocations: 82.39 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.2557, allocations: 20.94 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.2557, allocations: 0 / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.2557, allocations: 34.56 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.2557, allocations: 0 / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0247/0.2804, allocations: 1.613 MB / 1.023 GB, free: 5.809 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.2805, allocations: 59.39 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.717e-05/0.2806, allocations: 117.8 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.2806, allocations: 25.7 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.2807, allocations: 92.05 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/0.2807, allocations: 31.64 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.2809, allocations: 21.7 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.281, allocations: 322.8 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004156/0.2814, allocations: 147.9 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.2819, allocations: 135.9 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008336/0.2827, allocations: 296.8 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.2827, allocations: 0 / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001028/0.2837, allocations: 337.4 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2838, allocations: 8.656 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2838, allocations: 0 / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2838, allocations: 0 / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.2851, allocations: 63.92 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2851, allocations: 0 / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.2863, allocations: 43.95 kB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/0.2864, allocations: 11.98 kB / 1.024 GB, free: 4.074 MB / 0.795 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.0001458/0.2865, allocations: 126.3 kB / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.994e-05/0.2866, allocations: 7.906 kB / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.2867, allocations: 20.38 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2867, allocations: 0 / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2867, allocations: 0 / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2867, allocations: 0 / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004689/0.2914, allocations: 0.8455 MB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2914, allocations: 0 / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009234/0.2923, allocations: 55.88 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2924, allocations: 4 kB / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.2924, allocations: 0 / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.2924, allocations: 4 kB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2924, allocations: 8 kB / 1.025 GB, free: 2.934 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007799/0.2932, allocations: 321.1 kB / 1.026 GB, free: 2.598 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.2932, allocations: 81.02 kB / 1.026 GB, free: 2.5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.427e-05/0.2933, allocations: 7.984 kB / 1.026 GB, free: 2.492 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008589/0.2942, allocations: 39.89 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.2942, allocations: 11.94 kB / 1.026 GB, free: 2.441 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.2943, allocations: 4 kB / 1.026 GB, free: 2.438 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.2943, allocations: 91.27 kB / 1.026 GB, free: 2.348 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.2943, allocations: 0 / 1.026 GB, free: 2.348 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003436/0.2947, allocations: 99.98 kB / 1.026 GB, free: 2.25 MB / 0.795 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.000189/0.2949, allocations: 115.2 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008239/0.2957, allocations: 243.8 kB / 1.026 GB, free: 1.891 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2957, allocations: 0 / 1.026 GB, free: 1.891 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.2961, allocations: 99.94 kB / 1.026 GB, free: 1.793 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.2963, allocations: 8 kB / 1.026 GB, free: 1.785 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.2985, allocations: 309.2 kB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.2987, allocations: 0.6807 MB / 1.027 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003536/0.2991, allocations: 48.47 kB / 1.027 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/0.2995, allocations: 19.42 kB / 1.027 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.2995, allocations: 0 / 1.027 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of Templates: time 0.01013/0.3096, allocations: 8.745 MB / 1.036 GB, free: 7.891 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches