Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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 12.0.0-master/package.mo", uses=false) 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.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002112/0.002112, allocations: 187.8 kB / 16.25 MB, free: 6.645 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 482.3 MB / 0.7542 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 68.36 kB / 0.9232 GB, free: 29.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3249, allocations: 162.2 MB / 1.082 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001846/0.3268, allocations: 0.6648 MB / 1.082 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003823/0.3272, allocations: 159.5 kB / 1.082 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.3272, allocations: 0 / 1.082 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.3273, allocations: 0 / 1.082 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 1.858e-05/0.3273, allocations: 7.938 kB / 1.082 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.3276, allocations: 27.95 kB / 1.082 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.453e-05/0.3276, allocations: 12 kB / 1.082 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.3277, allocations: 7.984 kB / 1.082 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.819e-05/0.3277, allocations: 7.938 kB / 1.082 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.582e-05/0.3278, allocations: 11.98 kB / 1.082 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.3278, allocations: 0 / 1.082 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.3279, allocations: 39.95 kB / 1.083 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.3279, allocations: 3.938 kB / 1.083 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.3279, allocations: 8 kB / 1.083 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.482e-05/0.328, allocations: 35.88 kB / 1.083 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.328, allocations: 0 / 1.083 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.323e-06/0.328, allocations: 0 / 1.083 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.328, allocations: 4 kB / 1.083 GB, free: 12.75 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003959/0.3284, allocations: 323.6 kB / 1.083 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3285, allocations: 8.031 kB / 1.083 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.3285, allocations: 16.78 kB / 1.083 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.3287, allocations: 160.4 kB / 1.083 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3287, allocations: 4.312 kB / 1.083 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.3287, allocations: 8.375 kB / 1.083 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.3288, allocations: 42.25 kB / 1.083 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3288, allocations: 192 / 1.083 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3289, allocations: 3.938 kB / 1.083 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3289, allocations: 0 / 1.083 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.587e-05/0.3289, allocations: 15.98 kB / 1.083 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.3291, allocations: 165.9 kB / 1.083 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.523e-05/0.3292, allocations: 46.56 kB / 1.083 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.885e-05/0.3292, allocations: 24.95 kB / 1.083 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.766e-05/0.3294, allocations: 81.11 kB / 1.083 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3294, allocations: 34.56 kB / 1.083 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3294, allocations: 0 / 1.083 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.001258/0.3307, allocations: 499.9 kB / 1.084 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.3307, allocations: 51.41 kB / 1.084 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.818e-05/0.3308, allocations: 93.86 kB / 1.084 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3308, allocations: 33.64 kB / 1.084 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.3308, allocations: 80.14 kB / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.3309, allocations: 27.64 kB / 1.084 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.3309, allocations: 17.72 kB / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3311, allocations: 315 kB / 1.085 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/0.3311, allocations: 15.98 kB / 1.085 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.3311, allocations: 12 kB / 1.085 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.44e-05/0.3312, allocations: 32.84 kB / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3312, allocations: 4 kB / 1.085 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001142/0.3313, allocations: 77.52 kB / 1.085 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3314, allocations: 7.938 kB / 1.085 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3314, allocations: 0 / 1.085 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3314, allocations: 0 / 1.085 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.715e-05/0.3315, allocations: 12.44 kB / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.3315, allocations: 4 kB / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.582e-05/0.3315, allocations: 4 kB / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.3315, allocations: 11.98 kB / 1.085 GB, free: 10.25 MB / 0.8419 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 (8): * Single equations (assignments): 8 * 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 7.998e-05/0.3316, allocations: 109.8 kB / 1.085 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.3316, allocations: 3.938 kB / 1.085 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.3318, allocations: 85.58 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3318, allocations: 0 / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3318, allocations: 4 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3318, allocations: 0 / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.332, allocations: 169.6 kB / 1.085 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.332, allocations: 0 / 1.085 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.794e-05/0.3321, allocations: 12 kB / 1.085 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3321, allocations: 3.938 kB / 1.085 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.3321, allocations: 0 / 1.085 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3321, allocations: 4 kB / 1.085 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3321, allocations: 0 / 1.085 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.3323, allocations: 129.3 kB / 1.085 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.3324, allocations: 85.03 kB / 1.085 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.3324, allocations: 4.031 kB / 1.085 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.496e-05/0.3324, allocations: 0 / 1.085 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.3324, allocations: 4 kB / 1.085 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.3325, allocations: 0 / 1.085 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.876e-05/0.3325, allocations: 87.22 kB / 1.085 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3325, allocations: 0 / 1.085 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002316/0.3328, allocations: 32.14 kB / 1.085 GB, free: 9.43 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0002103/0.333, allocations: 135.2 kB / 1.086 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.3331, allocations: 43.92 kB / 1.086 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3331, allocations: 4 kB / 1.086 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.409e-05/0.3332, allocations: 19.94 kB / 1.086 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.3333, allocations: 9.703 kB / 1.086 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.3336, allocations: 152.6 kB / 1.086 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.3339, allocations: 0.6807 MB / 1.086 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.953e-05/0.334, allocations: 11.92 kB / 1.086 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.334, allocations: 11.44 kB / 1.086 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.334, allocations: 0 / 1.086 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of Templates: time 0.003337/0.3373, allocations: 0.8777 MB / 1.087 GB, free: 7.445 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches