Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005111/0.005111, allocations: 101.2 kB / 15.73 MB, free: 6.008 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.001133/0.001133, allocations: 194 kB / 16.67 MB, free: 5.93 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.384/1.384, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.61/2.61, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 68.31 kB / 1.054 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9885/0.9898, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002019/0.9919, allocations: 0.6219 MB / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.9941, allocations: 1.437 MB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.9942, allocations: 4 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.398e-05/0.9943, allocations: 3.938 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.723e-05/0.9943, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008674/0.9952, allocations: 203.5 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.9953, allocations: 39.97 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.9954, allocations: 3.984 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.9955, allocations: 19.92 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.9955, allocations: 23.91 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.9956, allocations: 4 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.9961, allocations: 251.6 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.9961, allocations: 7.938 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.9962, allocations: 15.88 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.9966, allocations: 211.6 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9966, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9966, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.9966, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 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.0004697/0.9971, allocations: 412.8 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.9971, allocations: 12.03 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.9972, allocations: 4.938 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.9973, allocations: 178 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.9974, allocations: 384 / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.9974, allocations: 4.375 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.9975, allocations: 73.97 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.9976, allocations: 0 / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.9976, allocations: 4 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.9976, allocations: 4 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.041e-05/0.9977, allocations: 39.97 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.9978, allocations: 157.7 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.798e-05/0.9979, allocations: 62.48 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.902e-05/0.998, allocations: 52.86 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-06/0.998, allocations: 0 / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.9981, allocations: 38.5 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.9981, allocations: 4 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003262/0.9984, allocations: 187.2 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.9985, allocations: 89.09 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/0.9986, allocations: 110.3 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.9986, allocations: 25.7 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.9986, allocations: 88.14 kB / 1.212 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.9987, allocations: 23.8 kB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.9987, allocations: 25.7 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.536e-05/0.9988, allocations: 314.9 kB / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.508e-05/0.9989, allocations: 35.97 kB / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.92e-05/0.9989, allocations: 39.97 kB / 1.212 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.9991, allocations: 144.3 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.9991, allocations: 0 / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001927/0.9993, allocations: 147.3 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.9993, allocations: 45.62 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.9993, allocations: 0 / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.9994, allocations: 0 / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.9994, allocations: 64 / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.9994, allocations: 4 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.9995, allocations: 11.91 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.9995, allocations: 15.86 kB / 1.213 GB, free: 8.215 MB / 0.9356 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 0.0001098/0.9997, allocations: 147.5 kB / 1.213 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.9997, allocations: 7.938 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.534e-05/0.9997, allocations: 12.36 kB / 1.213 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.9997, allocations: 0 / 1.213 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.9997, allocations: 0 / 1.213 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.9997, allocations: 0 / 1.213 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.9998, allocations: 177.5 kB / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.9998, allocations: 0 / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.9998, allocations: 0 / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.9999, allocations: 7.938 kB / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.9999, allocations: 0 / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.9999, allocations: 4 kB / 1.213 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9999, allocations: 0 / 1.213 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/1, allocations: 194.7 kB / 1.213 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/1, allocations: 88.98 kB / 1.213 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/1, allocations: 4 kB / 1.213 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.945e-05/1, allocations: 7.984 kB / 1.213 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/1, allocations: 8 kB / 1.213 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/1, allocations: 8 kB / 1.213 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.16e-05/1, allocations: 91.27 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.7e-07/1, allocations: 0 / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002892/1.001, allocations: 71.98 kB / 1.214 GB, free: 7.289 MB / 0.9356 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.0003106/1.001, allocations: 159.2 kB / 1.214 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002589/1.001, allocations: 203.3 kB / 1.214 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.001, allocations: 0 / 1.214 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/1.001, allocations: 155.3 kB / 1.214 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/1.002, allocations: 8 kB / 1.214 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/1.002, allocations: 160.9 kB / 1.214 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/1.002, allocations: 0.6885 MB / 1.215 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.163e-06/1.002, allocations: 3.938 kB / 1.215 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.256e-05/1.002, allocations: 11.56 kB / 1.215 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/1.002, allocations: 0 / 1.215 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of Templates: time 0.004778/1.007, allocations: 2.036 MB / 1.217 GB, free: 3.801 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches