Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 91.69 kB / 16.02 MB, free: 80 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.001721/0.001721, allocations: 179 kB / 16.92 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.413/1.413, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.9 MB / 0.667 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003419, allocations: 11.98 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6774/0.6777, allocations: 142.4 MB / 0.9557 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007179/0.6785, allocations: 354.2 kB / 0.9561 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.6803, allocations: 1.458 MB / 0.9575 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.6804, allocations: 0 / 0.9575 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.031e-05/0.6805, allocations: 0 / 0.9575 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.276e-05/0.6805, allocations: 2.031 kB / 0.9575 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006509/0.6812, allocations: 155.7 kB / 0.9576 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.409e-05/0.6812, allocations: 32.97 kB / 0.9577 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.6813, allocations: 6.438 kB / 0.9577 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.6813, allocations: 15.77 kB / 0.9577 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.6814, allocations: 29.02 kB / 0.9577 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.6814, allocations: 0.9688 kB / 0.9577 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000417/0.6818, allocations: 232.6 kB / 0.9579 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.6819, allocations: 7.781 kB / 0.9579 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.6819, allocations: 45.48 kB / 0.958 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.6822, allocations: 144.9 kB / 0.9581 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6822, allocations: 5.75 kB / 0.9581 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6822, allocations: 3.938 kB / 0.9581 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.6822, allocations: 4 kB / 0.9581 GB, free: 6.051 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003396/0.6825, allocations: 389.5 kB / 0.9585 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.6826, allocations: 8.875 kB / 0.9585 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.6826, allocations: 3.438 kB / 0.9585 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.807e-05/0.6827, allocations: 175.1 kB / 0.9587 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.6828, allocations: 3.469 kB / 0.9587 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.6828, allocations: 5.484 kB / 0.9587 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.6829, allocations: 75.31 kB / 0.9588 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.683, allocations: 0 / 0.9588 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.683, allocations: 5.344 kB / 0.9588 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.683, allocations: 3.938 kB / 0.9588 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.56e-05/0.6831, allocations: 41.12 kB / 0.9588 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.6832, allocations: 160.6 kB / 0.959 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.74e-05/0.6833, allocations: 59.94 kB / 0.959 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.31e-05/0.6833, allocations: 49.67 kB / 0.9591 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.6834, allocations: 0 / 0.9591 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.6834, allocations: 43.75 kB / 0.9591 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.6834, allocations: 0 / 0.9591 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003219/0.6837, allocations: 189.6 kB / 0.9593 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.6838, allocations: 84.66 kB / 0.9594 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.762e-05/0.6838, allocations: 110.1 kB / 0.9595 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.6838, allocations: 26.89 kB / 0.9595 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.567e-05/0.6839, allocations: 86.73 kB / 0.9596 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.6839, allocations: 30.5 kB / 0.9596 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.684, allocations: 12.97 kB / 0.9596 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.684, allocations: 320.2 kB / 0.9599 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.333e-05/0.6841, allocations: 32.56 kB / 0.96 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.624e-05/0.6841, allocations: 37.22 kB / 0.96 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.6842, allocations: 143.2 kB / 0.9601 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6843, allocations: 0 / 0.9601 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001689/0.6844, allocations: 158.7 kB / 0.9603 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.6845, allocations: 36.52 kB / 0.9603 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6845, allocations: 1.375 kB / 0.9603 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6845, allocations: 4.047 kB / 0.9603 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.6845, allocations: 4 kB / 0.9603 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.6845, allocations: 0 / 0.9603 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.947e-05/0.6846, allocations: 9.406 kB / 0.9603 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.6847, allocations: 9.5 kB / 0.9603 GB, free: 3.98 MB / 0.7169 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 (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 prepare postOptimizeDAE: time 7.447e-05/0.6847, allocations: 149.2 kB / 0.9605 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.6848, allocations: 12.05 kB / 0.9605 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.334e-05/0.6848, allocations: 5.75 kB / 0.9605 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.6848, allocations: 1.375 kB / 0.9605 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.6848, allocations: 4 kB / 0.9605 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.6848, allocations: 0 / 0.9605 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.632e-05/0.6849, allocations: 169.8 kB / 0.9607 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.6849, allocations: 1.375 kB / 0.9607 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-06/0.6849, allocations: 3.984 kB / 0.9607 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.6849, allocations: 3.938 kB / 0.9607 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.6849, allocations: 4.125 kB / 0.9607 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6849, allocations: 0 / 0.9607 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6849, allocations: 0 / 0.9607 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.6851, allocations: 199.8 kB / 0.9609 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.6852, allocations: 90.27 kB / 0.961 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.6852, allocations: 2.75 kB / 0.961 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.082e-05/0.6852, allocations: 13.48 kB / 0.961 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.6853, allocations: 1.375 kB / 0.961 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.6853, allocations: 5.5 kB / 0.961 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.6853, allocations: 91.52 kB / 0.9611 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6853, allocations: 0 / 0.9611 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003395/0.6857, allocations: 69.86 kB / 0.9611 GB, free: 3.254 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0003185/0.686, allocations: 167.7 kB / 0.9613 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.6862, allocations: 200.2 kB / 0.9615 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6863, allocations: 1.312 kB / 0.9615 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.6864, allocations: 151.6 kB / 0.9616 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.6865, allocations: 6.141 kB / 0.9616 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.6868, allocations: 211.3 kB / 0.9618 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.687, allocations: 0.6864 MB / 0.9625 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.128e-06/0.687, allocations: 8.438 kB / 0.9625 GB, free: 2 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.687, allocations: 0 / 0.9625 GB, free: 2 MB / 0.7169 GB Notification: Performance of Templates: time 0.003851/0.6909, allocations: 1.705 MB / 0.9642 GB, free: 1.145 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches