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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001932/0.001933, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002275/0.002275, allocations: 193.5 kB / 16.25 MB, free: 6.637 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.565/1.565, allocations: 222.9 MB / 239.9 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.713/2.713, allocations: 437 MB / 0.7101 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 67.88 kB / 0.8688 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5963/0.5982, allocations: 151.6 MB / 1.017 GB, free: 2.879 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001922/0.6002, allocations: 0.6852 MB / 1.017 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.6021, allocations: 1.381 MB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.6021, allocations: 0 / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.191e-05/0.6022, allocations: 3.938 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.043e-05/0.6023, allocations: 3.984 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.6029, allocations: 159.8 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.603, allocations: 55.89 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.6031, allocations: 0 / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.425e-05/0.6031, allocations: 19.98 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.6032, allocations: 27.89 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.6032, allocations: 4 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.6035, allocations: 195.7 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.6036, allocations: 15.92 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.6036, allocations: 19.88 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.6039, allocations: 189.7 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6039, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.663e-06/0.604, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.604, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 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.0005381/0.6045, allocations: 446.6 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.6045, allocations: 8.031 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.6046, allocations: 12.83 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.6048, allocations: 178.4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.6048, allocations: 4.375 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.6048, allocations: 384 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.605, allocations: 105.8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.605, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.605, allocations: 4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.6051, allocations: 4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.399e-05/0.6051, allocations: 59.95 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.6053, allocations: 173.6 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.6055, allocations: 90.47 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.533e-05/0.6056, allocations: 64.89 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.6056, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.6056, allocations: 34.5 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.6056, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004134/0.6061, allocations: 251.2 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.6061, allocations: 85.09 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.6063, allocations: 145.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.6063, allocations: 29.7 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.6064, allocations: 91.98 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.6064, allocations: 11.84 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.6065, allocations: 29.7 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.6066, allocations: 318.8 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.6068, allocations: 99.94 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.6069, allocations: 103.9 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.6073, allocations: 285.8 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6073, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003894/0.6077, allocations: 324.8 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.508e-05/0.6077, allocations: 73.25 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.6078, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.6078, allocations: 4.141 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.985e-06/0.6078, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.6078, allocations: 3.938 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.608, allocations: 7.906 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.608, allocations: 7.984 kB / 1.022 GB, free: 12.83 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.0001281/0.6081, allocations: 156.1 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.6082, allocations: 11.84 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.551e-05/0.6082, allocations: 8.234 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6082, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/0.6082, allocations: 4 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.6082, allocations: 3.938 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.6084, allocations: 169.6 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6084, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-06/0.6084, allocations: 3.938 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.6084, allocations: 4 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.6084, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6084, allocations: 3.938 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6084, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.6087, allocations: 222.6 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.6088, allocations: 96.89 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.6088, allocations: 3.938 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.758e-05/0.6089, allocations: 4 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.6089, allocations: 16.02 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.6089, allocations: 4 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.321e-05/0.609, allocations: 107.2 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.609, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002865/0.6093, allocations: 60 kB / 1.023 GB, free: 11.85 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.0002922/0.6096, allocations: 151.2 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004525/0.6101, allocations: 370.6 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6101, allocations: 4.062 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.6103, allocations: 135.4 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.6104, allocations: 5.719 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.6108, allocations: 233.5 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.6112, allocations: 0.6924 MB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.142e-06/0.6112, allocations: 4.062 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.126e-05/0.6112, allocations: 7.438 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6112, allocations: 0 / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of Templates: time 0.004904/0.6161, allocations: 1.986 MB / 1.027 GB, free: 8.184 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=400 -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/jenkins/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