Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001395/0.001395, allocations: 110 kB / 18.93 MB, free: 2.945 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.002145/0.002145, allocations: 189.5 kB / 22.23 MB, free: 5.16 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.435/1.435, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.785/2.785, allocations: 476.7 MB / 0.7646 GB, free: 9.859 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 59.91 kB / 1.11 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8184/0.8203, allocations: 168.8 MB / 1.274 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001889/0.8222, allocations: 0.6171 MB / 1.275 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.8244, allocations: 1.451 MB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.627e-05/0.8244, allocations: 0 / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.857e-05/0.8245, allocations: 3.938 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.094e-05/0.8245, allocations: 7.984 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007642/0.8253, allocations: 223 kB / 1.277 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.883e-05/0.8254, allocations: 31.97 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.8254, allocations: 7.984 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.121e-05/0.8255, allocations: 15.92 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.8255, allocations: 31.89 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.8255, allocations: 0 / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004727/0.826, allocations: 283.6 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.8261, allocations: 7.938 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.8261, allocations: 15.88 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.8264, allocations: 221.8 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.8264, allocations: 3.938 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8264, allocations: 0 / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.8264, allocations: 0 / 1.277 GB, free: 1.285 MB / 0.9669 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.000437/0.8269, allocations: 327.6 kB / 1.278 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.8269, allocations: 12.03 kB / 1.278 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.8269, allocations: 8.875 kB / 1.278 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.8271, allocations: 118.4 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.8271, allocations: 4.375 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.8271, allocations: 384 / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.8272, allocations: 81.97 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.8273, allocations: 0 / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.8273, allocations: 0 / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.8273, allocations: 0 / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.288e-05/0.8273, allocations: 35.91 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.8275, allocations: 136.7 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.23e-05/0.8276, allocations: 58.55 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.691e-05/0.8277, allocations: 40.86 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.8277, allocations: 0 / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.8277, allocations: 34.5 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.8277, allocations: 0 / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000346/0.828, allocations: 187.2 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.8281, allocations: 85.09 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.8282, allocations: 118.3 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.8283, allocations: 25.7 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.8283, allocations: 88.14 kB / 1.279 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.8284, allocations: 27.89 kB / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.8284, allocations: 17.72 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.8286, allocations: 322.8 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.8286, allocations: 31.98 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.07e-05/0.8287, allocations: 41.64 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.8289, allocations: 156.2 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8289, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000209/0.8291, allocations: 143.3 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.863e-05/0.8291, allocations: 45.62 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8291, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.8291, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.8291, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.8292, allocations: 4 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.8293, allocations: 7.953 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.8293, allocations: 11.98 kB / 1.279 GB, free: 14.93 MB / 0.9825 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.0001189/0.8294, allocations: 147.6 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.8294, allocations: 7.938 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.38e-05/0.8294, allocations: 12.31 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.8295, allocations: 4 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.8295, allocations: 0 / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.8295, allocations: 0 / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.8296, allocations: 140.7 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.8296, allocations: 0 / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.8296, allocations: 0 / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.8296, allocations: 7.938 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.8296, allocations: 7.938 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.8296, allocations: 3.938 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8296, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.8299, allocations: 194.8 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.8299, allocations: 15.83 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.8299, allocations: 4 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.752e-05/0.83, allocations: 7.984 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.83, allocations: 4.031 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.83, allocations: 8 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.51e-05/0.83, allocations: 91.27 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.83, allocations: 0 / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003028/0.8304, allocations: 71.92 kB / 1.28 GB, free: 14.14 MB / 0.9825 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.0003346/0.8307, allocations: 159.1 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.8309, allocations: 167.2 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/0.8309, allocations: 4.062 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.8311, allocations: 119.3 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.8312, allocations: 5.719 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.8316, allocations: 164.7 kB / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.8319, allocations: 0.6924 MB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.984e-06/0.8319, allocations: 4 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.143e-05/0.8319, allocations: 7.438 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.8319, allocations: 0 / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of Templates: time 0.005516/0.8374, allocations: 2.072 MB / 1.283 GB, free: 10.68 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.73317501693964]