Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006603/0.006603, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001656/0.001657, allocations: 196 kB / 16.67 MB, free: 6.352 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3213, allocations: 151.6 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00245/0.3238, allocations: 1.47 MB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008912/0.3247, allocations: 0.5618 MB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.3247, allocations: 4 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.3248, allocations: 3.938 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.131e-05/0.3248, allocations: 3.938 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.3251, allocations: 47.83 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.769e-05/0.3252, allocations: 27.92 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.3253, allocations: 11.92 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.744e-05/0.3254, allocations: 11.94 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.3254, allocations: 19.92 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.3255, allocations: 4 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.3256, allocations: 55.94 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.3256, allocations: 4 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.3256, allocations: 11.88 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.3258, allocations: 63.8 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3258, allocations: 0 / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3258, allocations: 0 / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.3258, allocations: 0 / 1.169 GB, free: 4.488 MB / 0.92 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.0004217/0.3262, allocations: 359.2 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.3263, allocations: 8.031 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.3263, allocations: 4.938 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.3264, allocations: 168.3 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.3264, allocations: 384 / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.3265, allocations: 12.36 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3266, allocations: 42 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3266, allocations: 3.938 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3266, allocations: 4 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.3266, allocations: 0 / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.232e-05/0.3267, allocations: 19.98 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.327, allocations: 252.9 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.575e-05/0.3271, allocations: 30.58 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.3272, allocations: 20.84 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007682/0.328, allocations: 481.4 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.328, allocations: 38.44 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.328, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002294/0.3282, allocations: 65.64 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.3283, allocations: 59.52 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.106e-05/0.3283, allocations: 101.9 kB / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.3284, allocations: 33.69 kB / 1.17 GB, free: 2.531 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.3284, allocations: 84.14 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.3285, allocations: 3.953 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.3285, allocations: 17.72 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3286, allocations: 314.8 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.181e-05/0.3286, allocations: 12 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.3287, allocations: 15.92 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.425e-05/0.3288, allocations: 28.78 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3288, allocations: 0 / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001167/0.3289, allocations: 49.69 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3289, allocations: 8 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3289, allocations: 0 / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3289, allocations: 4.094 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.118e-05/0.329, allocations: 4 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.329, allocations: 3.984 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.3291, allocations: 4 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.3291, allocations: 0 / 1.171 GB, free: 1.965 MB / 0.92 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 6.694e-05/0.3291, allocations: 117.7 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.3292, allocations: 7.953 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.3293, allocations: 73.19 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3293, allocations: 0 / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3294, allocations: 0 / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3294, allocations: 0 / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.3295, allocations: 165.6 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3295, allocations: 0 / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.3296, allocations: 4 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3296, allocations: 0 / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.3296, allocations: 0 / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3296, allocations: 0 / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3296, allocations: 7.984 kB / 1.171 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.3298, allocations: 155.5 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.3298, allocations: 88.94 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.3298, allocations: 0 / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/0.3299, allocations: 7.984 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.3299, allocations: 0 / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.3299, allocations: 3.938 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.164e-05/0.33, allocations: 99.59 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.33, allocations: 0 / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002279/0.3302, allocations: 12 kB / 1.172 GB, free: 1.133 MB / 0.92 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.0001892/0.3304, allocations: 115.2 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.3305, allocations: 27.92 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.3305, allocations: 0 / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.3306, allocations: 12 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.3308, allocations: 8.062 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.3311, allocations: 126.5 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.3313, allocations: 0.6768 MB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.395e-05/0.3314, allocations: 7.984 kB / 1.173 GB, free: 108 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/0.3314, allocations: 7.438 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of SimCode: time 3.1e-07/0.3314, allocations: 0 / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of Templates: time 0.002528/0.3339, allocations: 0.6724 MB / 1.173 GB, free: 15.43 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches