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.00924/0.00924, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001872/0.001872, allocations: 194.2 kB / 16.68 MB, free: 5.926 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.411/1.411, allocations: 222.9 MB / 240.4 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.665/2.665, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 1.054 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9162/0.9175, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001711/0.9192, allocations: 0.6204 MB / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.9211, allocations: 1.445 MB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.9212, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.44e-05/0.9212, allocations: 3.938 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.738e-05/0.9213, allocations: 3.938 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006872/0.922, allocations: 203.5 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.286e-05/0.9221, allocations: 43.97 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.9221, allocations: 3.984 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.513e-05/0.9221, allocations: 12 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.9222, allocations: 27.89 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.9222, allocations: 4 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000372/0.9226, allocations: 243.6 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.474e-05/0.9227, allocations: 19.91 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.9227, allocations: 11.94 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.923, allocations: 211.5 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.923, allocations: 0 / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.162e-06/0.923, allocations: 0 / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.923, allocations: 0 / 1.211 GB, free: 10.75 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.000415/0.9234, allocations: 404.9 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.9235, allocations: 12.03 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.9235, allocations: 0.9375 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.9236, allocations: 178 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.9237, allocations: 4.375 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.9237, allocations: 4.375 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.9238, allocations: 77.95 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.9238, allocations: 0 / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.9239, allocations: 4 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.9239, allocations: 4 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.887e-05/0.9239, allocations: 35.97 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.9241, allocations: 157.7 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.281e-05/0.9242, allocations: 70.48 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.9242, allocations: 48.86 kB / 1.211 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-06/0.9243, allocations: 0 / 1.211 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.9243, allocations: 38.5 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.9243, allocations: 0 / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003038/0.9246, allocations: 191.2 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.9247, allocations: 85.05 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.9248, allocations: 121.8 kB / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.9248, allocations: 25.7 kB / 1.212 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.9248, allocations: 88.14 kB / 1.212 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.9249, allocations: 19.66 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.9249, allocations: 25.7 kB / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.9251, allocations: 314.8 kB / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.303e-05/0.9251, allocations: 31.97 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-05/0.9252, allocations: 35.97 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.9253, allocations: 148.2 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9253, allocations: 0 / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001774/0.9255, allocations: 155.4 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/0.9256, allocations: 41.62 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.9256, allocations: 0.625 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.9256, allocations: 0 / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.9256, allocations: 0 / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.9256, allocations: 0 / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.9257, allocations: 11.91 kB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.9258, allocations: 7.984 kB / 1.213 GB, free: 8.195 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 9.666e-05/0.9259, allocations: 153.1 kB / 1.213 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.9259, allocations: 7.938 kB / 1.213 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.9259, allocations: 8.375 kB / 1.213 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.9259, allocations: 0 / 1.213 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.9259, allocations: 0 / 1.213 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.9259, allocations: 0 / 1.213 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.9261, allocations: 173.5 kB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9261, allocations: 0 / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.9261, allocations: 0 / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.9261, allocations: 7.938 kB / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.9261, allocations: 11.98 kB / 1.213 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.9261, allocations: 0 / 1.213 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9261, allocations: 4 kB / 1.213 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.9264, allocations: 198.7 kB / 1.213 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.9264, allocations: 84.95 kB / 1.213 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.9264, allocations: 4 kB / 1.213 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.35e-05/0.9265, allocations: 11.92 kB / 1.213 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.9265, allocations: 4 kB / 1.213 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.9265, allocations: 12.03 kB / 1.213 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.836e-05/0.9266, allocations: 91.27 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9266, allocations: 0 / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002947/0.9269, allocations: 67.98 kB / 1.214 GB, free: 7.262 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.0002929/0.9272, allocations: 167.2 kB / 1.214 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.9274, allocations: 191.3 kB / 1.214 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9274, allocations: 3.938 kB / 1.214 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.9276, allocations: 155.4 kB / 1.214 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.9277, allocations: 8 kB / 1.214 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.928, allocations: 168.8 kB / 1.214 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.9283, allocations: 0.6885 MB / 1.215 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.481e-06/0.9283, allocations: 0 / 1.215 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.215e-05/0.9283, allocations: 7.438 kB / 1.215 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.9283, allocations: 0 / 1.215 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of Templates: time 0.004547/0.9329, allocations: 2.074 MB / 1.217 GB, free: 3.734 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