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.001683/0.001683, allocations: 109.8 kB / 16.41 MB, free: 6.449 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.002017/0.002017, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.532/1.532, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.816/2.816, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.91 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.928/0.9295, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002606/0.9321, allocations: 0.618 MB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00267/0.9348, allocations: 1.439 MB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.9349, allocations: 4 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.356e-05/0.9351, allocations: 3.938 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.008e-05/0.9351, allocations: 7.922 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009992/0.9361, allocations: 199.6 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.9362, allocations: 43.91 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.267e-05/0.9363, allocations: 0 / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.277e-05/0.9364, allocations: 19.98 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/0.9364, allocations: 23.91 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.9365, allocations: 4 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005122/0.937, allocations: 243.7 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.689e-05/0.9371, allocations: 11.92 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.9371, allocations: 15.92 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004392/0.9376, allocations: 215.5 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.9376, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.797e-06/0.9376, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.9376, allocations: 0 / 1.211 GB, free: 10.77 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.0006103/0.9382, allocations: 408.9 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.9383, allocations: 12.03 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.9383, allocations: 0.9375 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.9385, allocations: 174.1 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.9385, allocations: 384 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.9385, allocations: 4.375 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.9387, allocations: 77.91 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.9387, allocations: 3.984 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.9388, allocations: 7.938 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.9388, allocations: 4 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.693e-05/0.9388, allocations: 35.97 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.939, allocations: 165.7 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.049e-05/0.9391, allocations: 62.55 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.255e-05/0.9392, allocations: 48.86 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.9392, allocations: 0 / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.9393, allocations: 46.44 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.9393, allocations: 7.938 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003597/0.9397, allocations: 183.2 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.9397, allocations: 81.11 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.865e-05/0.9398, allocations: 109.8 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.9399, allocations: 25.7 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.9399, allocations: 88.14 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.697e-05/0.94, allocations: 27.64 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.9401, allocations: 13.72 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.9402, allocations: 326.9 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.309e-05/0.9403, allocations: 35.97 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.476e-05/0.9404, allocations: 31.97 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.9406, allocations: 144.3 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.9406, allocations: 0 / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002023/0.9408, allocations: 151.3 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.9408, allocations: 43.5 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.9409, allocations: 0.625 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.9409, allocations: 0 / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.9409, allocations: 64 / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.9409, allocations: 4 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.941, allocations: 15.89 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.9411, allocations: 8 kB / 1.213 GB, free: 8.207 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.0001181/0.9412, allocations: 143.5 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.9412, allocations: 7.938 kB / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.9413, allocations: 12.36 kB / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9413, allocations: 0 / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.9413, allocations: 0 / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.9413, allocations: 88.89 kB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.9414, allocations: 8 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.652e-05/0.9414, allocations: 4 kB / 1.214 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.9414, allocations: 11.98 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003034/0.9418, allocations: 302 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000333/0.9421, allocations: 336.4 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001024/0.9422, allocations: 83.89 kB / 1.214 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.9423, allocations: 91.34 kB / 1.215 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of Backend: time 4.6e-07/0.9423, allocations: 3.938 kB / 1.215 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008335/0.9431, allocations: 301.6 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000595/0.9437, allocations: 0.6457 MB / 1.215 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of Templates: time 0.005345/0.9491, allocations: 2.087 MB / 1.217 GB, free: 3.953 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/jenkins1/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