Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.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.001283/0.001283, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.001396/0.001396, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.476/1.476, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.961/2.961, allocations: 0.49 GB / 0.7923 GB, free: 1.344 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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential") [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.00207/0.00207, allocations: 71.86 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.044, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002481/1.046, allocations: 1.45 MB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004056/1.047, allocations: 192.5 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.504e-05/1.047, allocations: 3.938 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/1.047, allocations: 7.031 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.488e-05/1.047, allocations: 3.938 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/1.047, allocations: 34.89 kB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.058e-05/1.047, allocations: 25.12 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/1.047, allocations: 9.781 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.907e-05/1.047, allocations: 6.453 kB / 1.324 GB, free: 23.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/1.047, allocations: 16.03 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/1.047, allocations: 2.594 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.463e-05/1.048, allocations: 34.39 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/1.048, allocations: 4 kB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/1.048, allocations: 18.16 kB / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/1.048, allocations: 43.31 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.048, allocations: 0 / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/1.048, allocations: 0 / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.01e-06/1.048, allocations: 0 / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004138/1.048, allocations: 343.9 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.048, allocations: 13.7 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/1.048, allocations: 7.844 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.163e-05/1.048, allocations: 167.6 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/1.048, allocations: 6.781 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/1.048, allocations: 4.375 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/1.048, allocations: 53.48 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/1.048, allocations: 192 / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/1.048, allocations: 3.938 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/1.048, allocations: 0 / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/1.049, allocations: 38.05 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/1.049, allocations: 251.4 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/1.049, allocations: 44.84 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/1.049, allocations: 16.98 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.82e-05/1.049, allocations: 83.8 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/1.049, allocations: 37.5 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/1.049, allocations: 0 / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003431/1.05, allocations: 78.89 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/1.05, allocations: 58.19 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.828e-05/1.05, allocations: 99.55 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/1.05, allocations: 25.7 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/1.05, allocations: 95.69 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/1.05, allocations: 6.688 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/1.05, allocations: 12.44 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.213e-05/1.05, allocations: 314.8 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.823e-05/1.05, allocations: 15.3 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.898e-05/1.05, allocations: 18.59 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/1.05, allocations: 42.14 kB / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.05, allocations: 0 / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001763/1.05, allocations: 69.36 kB / 1.326 GB, free: 21.99 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.05, allocations: 7.656 kB / 1.326 GB, free: 21.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.05, allocations: 3.422 kB / 1.326 GB, free: 21.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/1.05, allocations: 0 / 1.326 GB, free: 21.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.246e-05/1.05, allocations: 12.31 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/1.05, allocations: 4 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/1.05, allocations: 6.359 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/1.05, allocations: 0 / 1.326 GB, free: 21.98 MB / 1.061 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 4.915e-05/1.05, allocations: 118.4 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/1.051, allocations: 6.094 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/1.051, allocations: 75.77 kB / 1.326 GB, free: 21.81 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.051, allocations: 4.031 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.051, allocations: 0 / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/1.051, allocations: 6.094 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/1.051, allocations: 155.8 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.051, allocations: 3.938 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/1.051, allocations: 12.11 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/1.051, allocations: 0 / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/1.051, allocations: 256 / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.051, allocations: 3.938 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.051, allocations: 7.188 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/1.051, allocations: 170.6 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/1.051, allocations: 77.11 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/1.051, allocations: 0 / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/1.051, allocations: 13.28 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/1.051, allocations: 3.375 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/1.051, allocations: 4.031 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.302e-05/1.051, allocations: 84.59 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.051, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002211/1.052, allocations: 8.031 kB / 1.326 GB, free: 21.27 MB / 1.061 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001441/1.052, allocations: 110 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002104/1.052, allocations: 40.11 kB / 1.326 GB, free: 21.17 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.052, allocations: 4.062 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.132e-05/1.052, allocations: 18.02 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/1.052, allocations: 10.69 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/1.053, allocations: 139.6 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/1.053, allocations: 0.6777 MB / 1.327 GB, free: 20.31 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/1.053, allocations: 7.438 kB / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.053, allocations: 0 / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of Templates: time 0.002092/1.055, allocations: 0.6682 MB / 1.328 GB, free: 20.25 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.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.537534846007475]