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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 103.1 kB / 17.08 MB, free: 5.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 197.1 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 245.7 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.018/3.018, allocations: 490 MB / 0.7695 GB, free: 3.199 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 67.89 kB / 1.104 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9668/0.9689, allocations: 164 MB / 1.264 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001743/0.9707, allocations: 0.6192 MB / 1.265 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.9727, allocations: 1.434 MB / 1.266 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.9728, allocations: 0.6875 kB / 1.266 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.72e-05/0.9729, allocations: 0.5156 kB / 1.266 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.679e-05/0.9729, allocations: 10.22 kB / 1.266 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007604/0.9737, allocations: 206.7 kB / 1.266 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.558e-05/0.9738, allocations: 39.84 kB / 1.266 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.9738, allocations: 3.141 kB / 1.266 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.106e-05/0.9739, allocations: 14.22 kB / 1.266 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.502e-05/0.9739, allocations: 25.06 kB / 1.266 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.9739, allocations: 6.375 kB / 1.266 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004598/0.9744, allocations: 243.7 kB / 1.266 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.9745, allocations: 12.84 kB / 1.266 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.9745, allocations: 14.61 kB / 1.266 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.9749, allocations: 225.7 kB / 1.267 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9749, allocations: 0 / 1.267 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9749, allocations: 0.5156 kB / 1.267 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.9749, allocations: 0.9688 kB / 1.267 GB, free: 5.652 MB / 0.9981 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.0003577/0.9753, allocations: 400.8 kB / 1.267 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.9753, allocations: 13.59 kB / 1.267 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.9754, allocations: 8.672 kB / 1.267 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.522e-05/0.9755, allocations: 176.3 kB / 1.267 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.9755, allocations: 1.844 kB / 1.267 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.9755, allocations: 2.875 kB / 1.267 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.9757, allocations: 83.47 kB / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.9757, allocations: 0 / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.9757, allocations: 1.562 kB / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.9757, allocations: 0 / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.502e-05/0.9758, allocations: 37.41 kB / 1.267 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.9759, allocations: 162.5 kB / 1.268 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.976, allocations: 63.38 kB / 1.268 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.9761, allocations: 48.8 kB / 1.268 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-06/0.9761, allocations: 3.938 kB / 1.268 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.9761, allocations: 37.12 kB / 1.268 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.9761, allocations: 0 / 1.268 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003594/0.9765, allocations: 189.6 kB / 1.268 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.9766, allocations: 84.84 kB / 1.268 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.57e-05/0.9766, allocations: 110.8 kB / 1.268 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.9767, allocations: 27.36 kB / 1.268 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.9767, allocations: 86.73 kB / 1.268 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.9767, allocations: 21.66 kB / 1.268 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.9768, allocations: 22.36 kB / 1.268 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.9768, allocations: 318.8 kB / 1.268 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.337e-05/0.9769, allocations: 36.41 kB / 1.269 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.375e-05/0.977, allocations: 44.64 kB / 1.269 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.9771, allocations: 143.6 kB / 1.269 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9771, allocations: 0 / 1.269 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002055/0.9774, allocations: 156.4 kB / 1.269 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.9774, allocations: 40.19 kB / 1.269 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.9774, allocations: 0.5312 kB / 1.269 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.9774, allocations: 0.6875 kB / 1.269 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.9774, allocations: 0.7031 kB / 1.269 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.9775, allocations: 0.5625 kB / 1.269 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.9776, allocations: 15.33 kB / 1.269 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.9776, allocations: 6.266 kB / 1.269 GB, free: 3.703 MB / 0.9981 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 7.997e-05/0.9777, allocations: 153.3 kB / 1.269 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.9777, allocations: 16.72 kB / 1.269 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.416e-05/0.9777, allocations: 7.125 kB / 1.269 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.9777, allocations: 0 / 1.269 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.9777, allocations: 0.75 kB / 1.269 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.9778, allocations: 0.6562 kB / 1.269 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.775e-05/0.9778, allocations: 164.3 kB / 1.269 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.9778, allocations: 4 kB / 1.269 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-06/0.9779, allocations: 1.375 kB / 1.269 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.9779, allocations: 4.531 kB / 1.269 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.9779, allocations: 3.609 kB / 1.269 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.9779, allocations: 0.8125 kB / 1.269 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9779, allocations: 0.5625 kB / 1.269 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.9781, allocations: 199.7 kB / 1.269 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.9782, allocations: 87.3 kB / 1.27 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.9782, allocations: 7.188 kB / 1.27 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.454e-05/0.9782, allocations: 11.5 kB / 1.27 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.9782, allocations: 3.031 kB / 1.27 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.9783, allocations: 5.531 kB / 1.27 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.9783, allocations: 95.2 kB / 1.27 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9783, allocations: 3.938 kB / 1.27 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003293/0.9786, allocations: 69.48 kB / 1.27 GB, free: 3.016 MB / 0.9981 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.0002844/0.9789, allocations: 166.5 kB / 1.27 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002721/0.9792, allocations: 197 kB / 1.27 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9792, allocations: 0 / 1.27 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.9794, allocations: 152.2 kB / 1.27 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.9795, allocations: 8.625 kB / 1.27 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.9798, allocations: 189.1 kB / 1.27 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.9799, allocations: 0.6848 MB / 1.271 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.628e-06/0.9799, allocations: 8.469 kB / 1.271 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.9799, allocations: 128 / 1.271 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of Templates: time 0.004982/0.9849, allocations: 1.721 MB / 1.273 GB, free: 1.711 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.416518279002048]