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.0009786/0.0009785, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001017/0.001017, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.305 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.417/2.417, allocations: 390.9 MB / 0.666 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003192, allocations: 12 kB / 0.8154 GB, free: 13.58 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6687/0.6691, allocations: 142.4 MB / 0.9544 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007361/0.6699, allocations: 351.8 kB / 0.9548 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.6714, allocations: 1.38 MB / 0.9561 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.6715, allocations: 0 / 0.9561 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.767e-05/0.6715, allocations: 5.25 kB / 0.9561 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.807e-05/0.6716, allocations: 5.109 kB / 0.9561 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.6721, allocations: 155.2 kB / 0.9563 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.912e-05/0.6722, allocations: 37.14 kB / 0.9563 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.6722, allocations: 1.125 kB / 0.9563 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.314e-05/0.6723, allocations: 12.61 kB / 0.9563 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.6723, allocations: 22.08 kB / 0.9563 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.6724, allocations: 5.562 kB / 0.9564 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003258/0.6727, allocations: 235.1 kB / 0.9566 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.6727, allocations: 3.562 kB / 0.9566 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.6728, allocations: 28.05 kB / 0.9566 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.673, allocations: 144.2 kB / 0.9567 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.673, allocations: 5.25 kB / 0.9568 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.673, allocations: 0 / 0.9568 GB, free: 6 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.673, allocations: 0 / 0.9568 GB, free: 6 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.0002757/0.6733, allocations: 395.1 kB / 0.9571 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.6733, allocations: 9.062 kB / 0.9571 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.6733, allocations: 11.8 kB / 0.9571 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.335e-05/0.6734, allocations: 172.3 kB / 0.9573 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.6735, allocations: 1.219 kB / 0.9573 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.6735, allocations: 2.344 kB / 0.9573 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.6736, allocations: 76.14 kB / 0.9574 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.6736, allocations: 0 / 0.9574 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.6737, allocations: 1.25 kB / 0.9574 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.6737, allocations: 0 / 0.9574 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.317e-05/0.6737, allocations: 45.23 kB / 0.9574 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.6738, allocations: 160.1 kB / 0.9576 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.374e-05/0.6739, allocations: 63.7 kB / 0.9576 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.674, allocations: 49.83 kB / 0.9577 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.575e-06/0.674, allocations: 0 / 0.9577 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.674, allocations: 35.59 kB / 0.9577 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.674, allocations: 0 / 0.9577 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002877/0.6743, allocations: 190 kB / 0.9579 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.6744, allocations: 82.95 kB / 0.958 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.6744, allocations: 118.9 kB / 0.9581 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.6745, allocations: 26.83 kB / 0.9581 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.11e-05/0.6745, allocations: 86.45 kB / 0.9582 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.6745, allocations: 26.75 kB / 0.9582 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/0.6745, allocations: 1.438 kB / 0.9582 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.6746, allocations: 320.4 kB / 0.9585 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.214e-05/0.6746, allocations: 40.16 kB / 0.9586 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-05/0.6747, allocations: 37.95 kB / 0.9586 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.433e-05/0.6748, allocations: 65.95 kB / 0.9587 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6748, allocations: 0 / 0.9587 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001748/0.675, allocations: 150.8 kB / 0.9588 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.675, allocations: 36.84 kB / 0.9589 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.675, allocations: 3.938 kB / 0.9589 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.675, allocations: 1.781 kB / 0.9589 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.675, allocations: 4 kB / 0.9589 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.675, allocations: 0 / 0.9589 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.6751, allocations: 9.516 kB / 0.9589 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.6752, allocations: 8.562 kB / 0.9589 GB, free: 3.996 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.472e-05/0.6753, allocations: 153.1 kB / 0.959 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.6753, allocations: 8.031 kB / 0.959 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.188e-05/0.6753, allocations: 9.734 kB / 0.959 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.6753, allocations: 1.375 kB / 0.959 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6753, allocations: 0 / 0.959 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.6753, allocations: 0 / 0.959 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.851e-05/0.6754, allocations: 171.2 kB / 0.9592 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6754, allocations: 0 / 0.9592 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-07/0.6754, allocations: 0 / 0.9592 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.6754, allocations: 5.375 kB / 0.9592 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.6754, allocations: 10.73 kB / 0.9592 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.6754, allocations: 0 / 0.9592 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.6755, allocations: 0 / 0.9592 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.6757, allocations: 207.7 kB / 0.9594 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.6757, allocations: 78.48 kB / 0.9595 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.6757, allocations: 2.75 kB / 0.9595 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.431e-05/0.6757, allocations: 4.125 kB / 0.9595 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.6758, allocations: 10.77 kB / 0.9595 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.6758, allocations: 5.5 kB / 0.9595 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.973e-05/0.6758, allocations: 91.52 kB / 0.9596 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6758, allocations: 0 / 0.9596 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002979/0.6761, allocations: 69.88 kB / 0.9597 GB, free: 3.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002587/0.6764, allocations: 163.5 kB / 0.9598 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.6766, allocations: 192.4 kB / 0.96 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6766, allocations: 4.062 kB / 0.96 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.6768, allocations: 159.9 kB / 0.9602 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.6769, allocations: 10.66 kB / 0.9602 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.6772, allocations: 171.8 kB / 0.9603 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.6773, allocations: 0.6838 MB / 0.961 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.564e-06/0.6773, allocations: 11.92 kB / 0.961 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-06/0.6773, allocations: 11.5 kB / 0.961 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.6774, allocations: 0.7812 kB / 0.961 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of Templates: time 0.004883/0.6822, allocations: 1.961 MB / 0.963 GB, free: 1.043 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/jenkins/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