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.001147/0.001147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001909/0.001909, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.16 kB / 0.8984 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3299, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001881/0.3318, allocations: 0.6698 MB / 1.053 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.3338, allocations: 1.482 MB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.3338, allocations: 0 / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.359e-05/0.3339, allocations: 0 / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.455e-05/0.3339, allocations: 11.92 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.3345, allocations: 158.7 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.019e-05/0.3345, allocations: 31.97 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.3346, allocations: 0 / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.3346, allocations: 23.86 kB / 1.054 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.3347, allocations: 27.91 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.3347, allocations: 0 / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.3351, allocations: 239.6 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.937e-05/0.3351, allocations: 7.984 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.3352, allocations: 19.86 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.3355, allocations: 211.6 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.3355, allocations: 0 / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3355, allocations: 3.938 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.3355, allocations: 0 / 1.055 GB, free: 5.926 MB / 0.8106 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.0004301/0.3359, allocations: 409.4 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.336, allocations: 8.031 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.336, allocations: 8.844 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3362, allocations: 160.4 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.3362, allocations: 8.359 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.3362, allocations: 384 / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.3364, allocations: 77.97 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3364, allocations: 0 / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3364, allocations: 0 / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3364, allocations: 0 / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.111e-05/0.3365, allocations: 39.92 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.3367, allocations: 169.5 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.55e-05/0.3368, allocations: 66.55 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.731e-05/0.3368, allocations: 52.86 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.3368, allocations: 4 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.3369, allocations: 34.5 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.885e-06/0.3369, allocations: 4 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003303/0.3372, allocations: 191.4 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.3373, allocations: 81.11 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.183e-05/0.3374, allocations: 109.8 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3374, allocations: 33.69 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.3374, allocations: 84.14 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.3375, allocations: 19.72 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.3375, allocations: 21.7 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3377, allocations: 318.9 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.3377, allocations: 39.97 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.197e-05/0.3378, allocations: 35.97 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.3379, allocations: 136.2 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3379, allocations: 0 / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000191/0.3381, allocations: 155.2 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.3382, allocations: 37.64 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3382, allocations: 3.938 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3382, allocations: 7.938 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.817e-06/0.3382, allocations: 3.984 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3382, allocations: 8.062 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.3384, allocations: 11.94 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.3384, allocations: 7.984 kB / 1.057 GB, free: 3.359 MB / 0.8106 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.0001028/0.3385, allocations: 149.1 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.3385, allocations: 15.83 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.24e-05/0.3385, allocations: 4.375 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3386, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3386, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.3386, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.3387, allocations: 173.7 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3387, allocations: 0 / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-06/0.3387, allocations: 3.984 kB / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3387, allocations: 3.938 kB / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.3387, allocations: 4 kB / 1.057 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3387, allocations: 0 / 1.057 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3387, allocations: 0 / 1.057 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.339, allocations: 202.6 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.3391, allocations: 85.08 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.3391, allocations: 4 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.906e-05/0.3391, allocations: 7.984 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.3392, allocations: 4 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.3392, allocations: 4 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.894e-05/0.3393, allocations: 91.89 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3393, allocations: 0 / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005187/0.3398, allocations: 75.98 kB / 1.058 GB, free: 2.441 MB / 0.8106 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.0003383/0.3402, allocations: 159.2 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.3404, allocations: 199.3 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3404, allocations: 0 / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.3406, allocations: 159.2 kB / 1.058 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.3407, allocations: 5.547 kB / 1.058 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.341, allocations: 178.5 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.3413, allocations: 0.6928 MB / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.621e-06/0.3413, allocations: 0 / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.229e-05/0.3413, allocations: 7.438 kB / 1.059 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3413, allocations: 0 / 1.059 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of Templates: time 0.004351/0.3457, allocations: 1.975 MB / 1.061 GB, free: 15 MB / 0.8262 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