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.001115/0.001116, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008553/0.008553, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.439/1.439, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.604/2.604, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.000393, allocations: 12 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7883/0.7888, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0007888/0.7896, allocations: 349.2 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.7915, allocations: 1.393 MB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.7916, allocations: 3.938 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.492e-05/0.7916, allocations: 7.922 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.3e-05/0.7917, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.7923, allocations: 147.6 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.507e-05/0.7924, allocations: 39.95 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.7925, allocations: 7.938 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.633e-05/0.7925, allocations: 19.92 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/0.7926, allocations: 23.95 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.7926, allocations: 4 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.7929, allocations: 187.7 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.793, allocations: 15.94 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.234e-05/0.7931, allocations: 49.56 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.7934, allocations: 187.6 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7934, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7934, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.7934, allocations: 4 kB / 1.025 GB, free: 13.43 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.0004213/0.7938, allocations: 436.7 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.7939, allocations: 8.031 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.7939, allocations: 8.844 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.794, allocations: 172.2 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.7941, allocations: 8.375 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.7941, allocations: 8.312 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.7943, allocations: 97.95 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.7943, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.7943, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.7943, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.042e-05/0.7944, allocations: 59.95 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.7946, allocations: 181.5 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.7947, allocations: 86.53 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.635e-05/0.7948, allocations: 68.83 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-06/0.7948, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.7948, allocations: 34.5 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.7948, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003723/0.7952, allocations: 255.2 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.7953, allocations: 81.11 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.7954, allocations: 147.8 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.7954, allocations: 33.73 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.7955, allocations: 88.14 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.7955, allocations: 7.812 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.7955, allocations: 25.7 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7956, allocations: 322.8 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.7958, allocations: 103.9 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.7959, allocations: 99.94 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.7962, allocations: 277.7 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7962, allocations: 32 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003302/0.7965, allocations: 328.8 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.258e-05/0.7966, allocations: 75.38 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.7966, allocations: 0 / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.7966, allocations: 4 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.7966, allocations: 0 / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.7966, allocations: 3.984 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.7968, allocations: 7.938 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.7968, allocations: 4 kB / 1.028 GB, free: 10.17 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.0001116/0.7969, allocations: 159.5 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.7969, allocations: 15.83 kB / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.507e-05/0.797, allocations: 12.19 kB / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.797, allocations: 0 / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.797, allocations: 0 / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.797, allocations: 0 / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.7971, allocations: 173.6 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7971, allocations: 0 / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-06/0.7971, allocations: 3.938 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7971, allocations: 0 / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.7971, allocations: 4 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7972, allocations: 4 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.7972, allocations: 0 / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.7974, allocations: 226.6 kB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.7975, allocations: 84.95 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.7975, allocations: 4 kB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.548e-05/0.7976, allocations: 7.984 kB / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.7976, allocations: 8 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.7976, allocations: 7.969 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.2e-05/0.7977, allocations: 104.8 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7977, allocations: 4 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003009/0.798, allocations: 67.98 kB / 1.029 GB, free: 9.191 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.0002969/0.7983, allocations: 151.1 kB / 1.029 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003834/0.7987, allocations: 374.6 kB / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7987, allocations: 0 / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.7989, allocations: 135.4 kB / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.799, allocations: 15.88 kB / 1.03 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.7994, allocations: 223.2 kB / 1.03 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.7996, allocations: 0.6887 MB / 1.031 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.616e-06/0.7997, allocations: 0 / 1.031 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.268e-06/0.7997, allocations: 11.38 kB / 1.031 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of SimCode: time 4e-07/0.7997, allocations: 4.062 kB / 1.031 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of Templates: time 0.004664/0.8043, allocations: 1.921 MB / 1.033 GB, free: 5.594 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/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