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.001038/0.001039, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.001042/0.001042, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.18 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.517/2.517, allocations: 437.1 MB / 0.7112 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 72.67 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2843, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001988/0.2863, allocations: 0.6309 MB / 1.019 GB, free: 9.227 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004463/0.2867, allocations: 207 kB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.2868, allocations: 7.938 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.2868, allocations: 0 / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.287, allocations: 3.938 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.2872, allocations: 75.75 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.295e-05/0.2873, allocations: 27.91 kB / 1.02 GB, free: 8.91 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.2873, allocations: 4 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.046e-05/0.2874, allocations: 11.94 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.22e-05/0.2874, allocations: 27.89 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.2875, allocations: 4 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.2876, allocations: 111.7 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.2877, allocations: 7.938 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.2877, allocations: 11.92 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.2878, allocations: 115.7 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2879, allocations: 0 / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.046e-06/0.2879, allocations: 0 / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.2879, allocations: 3.938 kB / 1.02 GB, free: 8.617 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.0004962/0.2884, allocations: 371.3 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.2884, allocations: 12.92 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.2885, allocations: 4.938 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2886, allocations: 172.3 kB / 1.021 GB, free: 7.98 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.2886, allocations: 384 / 1.021 GB, free: 7.98 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.2886, allocations: 8.375 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.2888, allocations: 50.23 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2888, allocations: 8.109 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2888, allocations: 7.938 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.2888, allocations: 0 / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.2889, allocations: 35.97 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/0.2892, allocations: 248.9 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.2894, allocations: 66.47 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.528e-05/0.2895, allocations: 28.94 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.2895, allocations: 4 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.2895, allocations: 34.5 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2895, allocations: 0 / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.02694/0.3165, allocations: 1.613 MB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.3165, allocations: 51.41 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.3166, allocations: 117.8 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.3167, allocations: 25.7 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.3168, allocations: 88.05 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.413e-05/0.3168, allocations: 31.62 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.317, allocations: 25.7 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.3171, allocations: 314.8 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005148/0.3177, allocations: 147.9 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/0.3181, allocations: 140.3 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009327/0.3191, allocations: 304.8 kB / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3191, allocations: 0 / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001147/0.3202, allocations: 333.4 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3203, allocations: 8 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3203, allocations: 0 / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3203, allocations: 0 / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.3218, allocations: 71.86 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3218, allocations: 0 / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.3231, allocations: 47.95 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-05/0.3232, allocations: 3.984 kB / 1.024 GB, free: 4.07 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.0001657/0.3234, allocations: 117.8 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/0.3235, allocations: 7.906 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.3236, allocations: 16.38 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3236, allocations: 0 / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.3236, allocations: 4 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3236, allocations: 7.984 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005342/0.3289, allocations: 0.8338 MB / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.329, allocations: 4 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.33, allocations: 51.94 kB / 1.025 GB, free: 2.957 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.33, allocations: 0 / 1.025 GB, free: 2.957 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.574e-05/0.3301, allocations: 4 kB / 1.025 GB, free: 2.953 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3301, allocations: 3.938 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3301, allocations: 0 / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009016/0.331, allocations: 329.1 kB / 1.026 GB, free: 2.605 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.3311, allocations: 85.02 kB / 1.026 GB, free: 2.504 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.914e-05/0.3312, allocations: 4.406 kB / 1.026 GB, free: 2.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009494/0.3321, allocations: 51.89 kB / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.3321, allocations: 4 kB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.3322, allocations: 4.078 kB / 1.026 GB, free: 2.441 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.591e-05/0.3322, allocations: 95.22 kB / 1.026 GB, free: 2.348 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3323, allocations: 0 / 1.026 GB, free: 2.348 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003877/0.3326, allocations: 95.98 kB / 1.026 GB, free: 2.254 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.0002065/0.3329, allocations: 115.2 kB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009254/0.3338, allocations: 247.9 kB / 1.026 GB, free: 1.891 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3338, allocations: 0 / 1.026 GB, free: 1.891 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004/0.3342, allocations: 95.89 kB / 1.026 GB, free: 1.797 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.3345, allocations: 0 / 1.026 GB, free: 1.797 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.337, allocations: 310.7 kB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.3373, allocations: 0.6923 MB / 1.027 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003786/0.3377, allocations: 52.16 kB / 1.027 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004543/0.3381, allocations: 15.42 kB / 1.027 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3381, allocations: 0 / 1.027 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of Templates: time 0.01151/0.3496, allocations: 8.748 MB / 1.036 GB, free: 7.887 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 gbode -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