Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001515/0.001515, allocations: 106.6 kB / 16.41 MB, free: 6.465 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.001588/0.001588, allocations: 187 kB / 17.34 MB, free: 5.719 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 67.88 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9235/0.925, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00186/0.9269, allocations: 0.6192 MB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.9289, allocations: 1.44 MB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.9289, allocations: 0 / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.22e-05/0.929, allocations: 1.578 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.403e-05/0.9291, allocations: 6.5 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008139/0.9299, allocations: 212.4 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.93, allocations: 43.34 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.9301, allocations: 2.953 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.641e-05/0.9301, allocations: 10.22 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.9302, allocations: 22.36 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.9302, allocations: 1.125 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005289/0.9307, allocations: 252.4 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.9308, allocations: 9.031 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.9308, allocations: 14.25 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.9312, allocations: 219.5 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.9312, allocations: 0 / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9313, allocations: 4.844 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.9313, allocations: 0 / 1.091 GB, free: 3.867 MB / 0.8575 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.0004054/0.9317, allocations: 401.4 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.9317, allocations: 14.52 kB / 1.092 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.9318, allocations: 7.406 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.826e-05/0.9319, allocations: 170.4 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.9319, allocations: 5.406 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.9319, allocations: 6.906 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.9321, allocations: 75.64 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.9321, allocations: 0.7188 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.9321, allocations: 0.7188 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.9322, allocations: 0.7188 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.872e-05/0.9322, allocations: 36.53 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.9324, allocations: 159.7 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.9325, allocations: 66.66 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.9326, allocations: 52.53 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.9326, allocations: 1.125 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.9326, allocations: 36.11 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.9326, allocations: 0 / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003795/0.933, allocations: 189.5 kB / 1.093 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.9331, allocations: 81.47 kB / 1.093 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/0.9331, allocations: 115.1 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.9332, allocations: 26.64 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.561e-05/0.9332, allocations: 92.36 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.9332, allocations: 24.08 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.9333, allocations: 27.48 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.737e-05/0.9333, allocations: 314.3 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.9334, allocations: 36 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.9335, allocations: 36.8 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.9337, allocations: 140.3 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9337, allocations: 0 / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002117/0.9339, allocations: 160 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.9339, allocations: 39.61 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.934, allocations: 1.453 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.934, allocations: 0 / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.934, allocations: 0.7812 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.934, allocations: 0.6094 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.9341, allocations: 12.06 kB / 1.094 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.9342, allocations: 6.141 kB / 1.094 GB, free: 1.934 MB / 0.8575 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.098e-05/0.9343, allocations: 148.5 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.9343, allocations: 16.7 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.511e-05/0.9343, allocations: 7.266 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.9343, allocations: 0 / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.9343, allocations: 0.7188 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.9343, allocations: 5.484 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.985e-05/0.9344, allocations: 171.7 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.9344, allocations: 1.094 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.9344, allocations: 0 / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.9344, allocations: 4.688 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.9345, allocations: 3.406 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.9345, allocations: 4.703 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.9345, allocations: 0.9688 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.9347, allocations: 198.9 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.9348, allocations: 87.16 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.9348, allocations: 2.891 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.662e-05/0.9349, allocations: 7.234 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.9349, allocations: 11.44 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.9349, allocations: 5.359 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.284e-05/0.935, allocations: 96.23 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.935, allocations: 0 / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003856/0.9353, allocations: 72.8 kB / 1.094 GB, free: 1.238 MB / 0.8575 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.0003412/0.9357, allocations: 158.4 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003017/0.936, allocations: 197 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.936, allocations: 0.5938 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.9362, allocations: 151.5 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.9363, allocations: 9.812 kB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/0.9368, allocations: 188 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.937, allocations: 0.6853 MB / 1.096 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/0.937, allocations: 12.09 kB / 1.096 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.937, allocations: 0 / 1.096 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of Templates: time 0.005016/0.9421, allocations: 1.718 MB / 1.097 GB, free: 15.94 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches