Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001171/0.001171, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.01126/0.01126, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003807, allocations: 15.98 kB / 0.8728 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.738/0.7384, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007329/0.7391, allocations: 357.2 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.7415, allocations: 1.451 MB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.7415, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.939e-05/0.7416, allocations: 3.938 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.185e-05/0.7417, allocations: 4 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008166/0.7425, allocations: 155.7 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.503e-05/0.7426, allocations: 31.97 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.197e-05/0.7427, allocations: 4 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.7427, allocations: 23.86 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.7428, allocations: 19.97 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.7428, allocations: 3.938 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.7433, allocations: 239.7 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.7434, allocations: 4 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.7434, allocations: 45.56 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.7438, allocations: 211.5 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7438, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7439, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.7439, allocations: 4 kB / 1.026 GB, free: 13.28 MB / 0.7794 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.0004619/0.7443, allocations: 395.1 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.7444, allocations: 12.03 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.7444, allocations: 0.9375 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.7446, allocations: 176.2 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.7446, allocations: 384 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.7446, allocations: 4.375 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.7448, allocations: 77.91 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.7448, allocations: 0 / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.7448, allocations: 7.938 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.7448, allocations: 4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.138e-05/0.7449, allocations: 35.97 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.7451, allocations: 157.7 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.967e-05/0.7452, allocations: 62.55 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.752e-05/0.7453, allocations: 48.86 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.7453, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.7453, allocations: 42.5 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.7453, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003867/0.7457, allocations: 199.2 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.7458, allocations: 81.11 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.7459, allocations: 113.8 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.7459, allocations: 25.7 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.746, allocations: 88.14 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.746, allocations: 19.66 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.7461, allocations: 17.7 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.7462, allocations: 318.9 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.46e-05/0.7462, allocations: 35.97 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.808e-05/0.7463, allocations: 35.97 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.7465, allocations: 148.8 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7465, allocations: 0 / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00019/0.7467, allocations: 147.2 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.7467, allocations: 41.62 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7467, allocations: 4 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.7467, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.7467, allocations: 64 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.7468, allocations: 4 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.7469, allocations: 7.984 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.7469, allocations: 8 kB / 1.028 GB, free: 10.75 MB / 0.7794 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.0001051/0.747, allocations: 144.1 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.747, allocations: 7.938 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.7471, allocations: 12.36 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.7471, allocations: 0 / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7471, allocations: 4 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7471, allocations: 3.938 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.7472, allocations: 173.5 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7472, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.7472, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.7472, allocations: 3.938 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.7473, allocations: 15.92 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7473, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7473, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.7475, allocations: 202.8 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.7476, allocations: 92.98 kB / 1.028 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.7476, allocations: 0 / 1.028 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.069e-05/0.7476, allocations: 8 kB / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.7477, allocations: 3.984 kB / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.7477, allocations: 8 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.372e-05/0.7477, allocations: 91.27 kB / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7477, allocations: 0 / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003934/0.7481, allocations: 72 kB / 1.029 GB, free: 9.812 MB / 0.7794 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.0003483/0.7485, allocations: 167.1 kB / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.7488, allocations: 203.2 kB / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7488, allocations: 0 / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.7489, allocations: 151.3 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.7491, allocations: 5.875 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.7494, allocations: 186.6 kB / 1.029 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.7497, allocations: 0.685 MB / 1.03 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.163e-06/0.7497, allocations: 0 / 1.03 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.7497, allocations: 7.438 kB / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.7497, allocations: 0 / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.00508/0.7548, allocations: 1.967 MB / 1.032 GB, free: 6.379 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches