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.001807/0.001807, allocations: 116 kB / 16.42 MB, free: 6.488 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.002226/0.002227, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.476/1.476, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.782/2.782, allocations: 469.4 MB / 0.7428 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002809/0.00281, allocations: 64.12 kB / 1.066 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.062, allocations: 159.1 MB / 1.221 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002166/1.064, allocations: 0.617 MB / 1.222 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002392/1.067, allocations: 1.435 MB / 1.223 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/1.067, allocations: 0 / 1.223 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.716e-05/1.067, allocations: 0 / 1.223 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.025e-05/1.067, allocations: 11.94 kB / 1.223 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009949/1.068, allocations: 211.4 kB / 1.223 GB, free: 92 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/1.068, allocations: 39.95 kB / 1.223 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.604e-05/1.068, allocations: 4 kB / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.993e-05/1.068, allocations: 19.92 kB / 1.223 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.971e-05/1.068, allocations: 15.98 kB / 1.223 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/1.068, allocations: 0 / 1.223 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005232/1.069, allocations: 255.6 kB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/1.069, allocations: 7.938 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.495e-05/1.069, allocations: 19.86 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004217/1.069, allocations: 207.6 kB / 1.224 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.069, allocations: 4 kB / 1.224 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.024e-06/1.069, allocations: 0 / 1.224 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.183e-06/1.069, allocations: 0 / 1.224 GB, free: 15.53 MB / 0.9512 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.0005993/1.07, allocations: 408.9 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/1.07, allocations: 8.031 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/1.07, allocations: 8.938 kB / 1.224 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/1.07, allocations: 170.1 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/1.07, allocations: 4.375 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/1.07, allocations: 384 / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/1.071, allocations: 77.97 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.071, allocations: 0 / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/1.071, allocations: 3.938 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.071, allocations: 0 / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.111e-05/1.071, allocations: 39.97 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/1.071, allocations: 165.6 kB / 1.225 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.873e-05/1.071, allocations: 74.47 kB / 1.225 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/1.071, allocations: 44.88 kB / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/1.071, allocations: 0 / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/1.071, allocations: 42.48 kB / 1.225 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/1.071, allocations: 0 / 1.225 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.000383/1.071, allocations: 195.4 kB / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/1.072, allocations: 81.14 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/1.072, allocations: 113.8 kB / 1.225 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/1.072, allocations: 25.7 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/1.072, allocations: 84.14 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/1.072, allocations: 31.58 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/1.072, allocations: 17.72 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001888/1.072, allocations: 318.8 kB / 1.226 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/1.072, allocations: 39.97 kB / 1.226 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/1.072, allocations: 31.98 kB / 1.226 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/1.073, allocations: 140.8 kB / 1.226 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/1.073, allocations: 4 kB / 1.226 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002255/1.073, allocations: 151.2 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/1.073, allocations: 41.62 kB / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.073, allocations: 0 / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/1.073, allocations: 4 kB / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/1.073, allocations: 0 / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/1.073, allocations: 3.938 kB / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/1.073, allocations: 7.984 kB / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/1.073, allocations: 8.062 kB / 1.226 GB, free: 12.97 MB / 0.9512 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.000169/1.073, allocations: 152.1 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/1.073, allocations: 7.938 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/1.073, allocations: 4.375 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.073, allocations: 0 / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.073, allocations: 0 / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/1.073, allocations: 92.94 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/1.073, allocations: 0 / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.177e-05/1.074, allocations: 8 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/1.074, allocations: 8 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003421/1.074, allocations: 298 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003939/1.074, allocations: 356.2 kB / 1.227 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001185/1.074, allocations: 75.97 kB / 1.227 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.972e-05/1.075, allocations: 95.27 kB / 1.227 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of Backend: time 1.313e-06/1.075, allocations: 3.938 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008338/1.075, allocations: 292 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005675/1.076, allocations: 0.6458 MB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of Templates: time 0.006145/1.082, allocations: 2.063 MB / 1.23 GB, free: 8.746 MB / 0.9512 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