Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 104.3 kB / 19.7 MB, free: 2 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 213.8 kB / 22.99 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.263/3.263, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 71.91 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4303, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002281/0.4325, allocations: 0.6062 MB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002693/0.4352, allocations: 1.44 MB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.4353, allocations: 0 / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.837e-05/0.4353, allocations: 3.938 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.961e-05/0.4354, allocations: 4 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000947/0.4363, allocations: 211.5 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.4364, allocations: 39.97 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.4365, allocations: 11.98 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.833e-05/0.4365, allocations: 15.94 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.4366, allocations: 27.89 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.4366, allocations: 4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005569/0.4372, allocations: 271.6 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.4372, allocations: 7.984 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/0.4373, allocations: 11.92 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004607/0.4377, allocations: 219.4 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4377, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4377, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.4377, allocations: 4 kB / 1.33 GB, free: 14.11 MB / 1.029 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.000602/0.4383, allocations: 331.6 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4384, allocations: 8.031 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.4384, allocations: 8.875 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.4386, allocations: 110.5 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.4386, allocations: 384 / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.4386, allocations: 4.375 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.4388, allocations: 111.7 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4388, allocations: 3.984 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.4388, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4388, allocations: 4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.72e-05/0.4389, allocations: 65.67 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.4391, allocations: 117.2 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.4392, allocations: 88.12 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.837e-05/0.4393, allocations: 78.5 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.4393, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.4394, allocations: 34.56 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.4394, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000434/0.4398, allocations: 262.5 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.4399, allocations: 77.11 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.44, allocations: 113.9 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.44, allocations: 29.7 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.4401, allocations: 84.14 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.4401, allocations: 19.84 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.4402, allocations: 21.72 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4403, allocations: 322.8 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/0.4404, allocations: 65.67 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.343e-05/0.4405, allocations: 61.67 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.4407, allocations: 156.8 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4407, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002466/0.4409, allocations: 189.1 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.373e-05/0.441, allocations: 47.47 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.441, allocations: 3.938 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.441, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.093e-06/0.441, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.441, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.4412, allocations: 15.92 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.4412, allocations: 4 kB / 1.332 GB, free: 11.45 MB / 1.029 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.0001455/0.4413, allocations: 148.1 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.4414, allocations: 11.94 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.4414, allocations: 12.31 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4414, allocations: 4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4414, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4414, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.4415, allocations: 109.3 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4415, allocations: 0 / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.4415, allocations: 0 / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.4415, allocations: 0 / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.4415, allocations: 4 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4415, allocations: 3.938 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4415, allocations: 3.938 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.4418, allocations: 240.3 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.4418, allocations: 7.984 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.4418, allocations: 4 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.4419, allocations: 11.92 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.4419, allocations: 7.938 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.4419, allocations: 4 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.425e-05/0.442, allocations: 91.27 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.442, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003532/0.4423, allocations: 75.86 kB / 1.333 GB, free: 10.65 MB / 1.029 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.0003224/0.4427, allocations: 155.1 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003013/0.443, allocations: 226.7 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.443, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.4431, allocations: 157 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.4433, allocations: 4 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.4436, allocations: 207.3 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.259e-05/0.4437, allocations: 71.33 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.011e-06/0.4437, allocations: 0 / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.4437, allocations: 7.438 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4437, allocations: 0 / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of Templates: time 0.005434/0.4492, allocations: 2.16 MB / 1.336 GB, free: 7.594 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.489412533002906]