Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007455/0.0007454, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007816/0.0007816, allocations: 183.1 kB / 16.92 MB, free: 6.684 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.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.601/2.601, allocations: 437.8 MB / 0.7128 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003806, allocations: 15.98 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7036/0.704, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008158/0.7049, allocations: 349.4 kB / 1.024 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.7068, allocations: 1.396 MB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.7068, allocations: 4 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.215e-05/0.7069, allocations: 3.938 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.272e-05/0.707, allocations: 3.938 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.7075, allocations: 135.8 kB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.608e-05/0.7076, allocations: 39.95 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.7076, allocations: 0 / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.363e-05/0.7077, allocations: 19.98 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.7078, allocations: 35.83 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.7078, allocations: 4 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.7081, allocations: 187.7 kB / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.7082, allocations: 11.94 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.082e-05/0.7082, allocations: 49.56 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.7084, allocations: 119.8 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.7084, allocations: 0 / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.478e-06/0.7084, allocations: 3.984 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.7084, allocations: 3.938 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000439/0.7089, allocations: 444.7 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.7089, allocations: 11.97 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.709, allocations: 8.844 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.7091, allocations: 168.3 kB / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.7091, allocations: 384 / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.7091, allocations: 4.375 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.7093, allocations: 97.95 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.7093, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.7094, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.7094, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.642e-05/0.7095, allocations: 67.89 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.7096, allocations: 185.5 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.7098, allocations: 82.53 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.502e-05/0.7099, allocations: 64.89 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.7099, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.7099, allocations: 34.5 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.7099, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003946/0.7103, allocations: 259.3 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.7104, allocations: 81.11 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.7105, allocations: 147.4 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.7105, allocations: 25.7 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.7106, allocations: 92.14 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.7106, allocations: 7.812 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.7107, allocations: 25.7 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.7108, allocations: 318.8 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.7109, allocations: 108 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.711, allocations: 99.94 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.7113, allocations: 281.6 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.7113, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003503/0.7117, allocations: 320.8 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.76e-05/0.7118, allocations: 75.38 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.7118, allocations: 7.922 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.7118, allocations: 4 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.7118, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.7118, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.712, allocations: 12 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.712, allocations: 4 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001333/0.7121, allocations: 151.5 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.7121, allocations: 11.84 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.598e-05/0.7122, allocations: 12.23 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.7122, allocations: 0 / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.7122, allocations: 0 / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7122, allocations: 0 / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.7123, allocations: 185.6 kB / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.7123, allocations: 0 / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-06/0.7123, allocations: 3.938 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.7123, allocations: 0 / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.7123, allocations: 4 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7123, allocations: 0 / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7124, allocations: 3.938 kB / 1.029 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.7126, allocations: 222.6 kB / 1.029 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.7127, allocations: 88.95 kB / 1.03 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.7127, allocations: 8.031 kB / 1.03 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.8e-05/0.7128, allocations: 4 kB / 1.03 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.7128, allocations: 11.98 kB / 1.03 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.7128, allocations: 0 / 1.03 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.443e-05/0.7129, allocations: 105.4 kB / 1.03 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7129, allocations: 4 kB / 1.03 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002996/0.7132, allocations: 67.98 kB / 1.03 GB, free: 9.242 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002697/0.7135, allocations: 155.1 kB / 1.03 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004271/0.7139, allocations: 378.6 kB / 1.03 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7139, allocations: 0 / 1.03 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.7141, allocations: 135.3 kB / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.7143, allocations: 11.94 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.7147, allocations: 249.1 kB / 1.031 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.7149, allocations: 0.6887 MB / 1.031 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.049e-05/0.715, allocations: 7.438 kB / 1.031 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.715, allocations: 0 / 1.031 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of Templates: time 0.003471/0.7184, allocations: 1.656 MB / 1.033 GB, free: 5.879 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches