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.001765/0.001764, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001853/0.001853, allocations: 197.3 kB / 16.14 MB, free: 6.703 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.586/1.586, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.967/2.967, allocations: 482.3 MB / 0.7542 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 68.2 kB / 0.9231 GB, free: 29.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3684, allocations: 162.2 MB / 1.082 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001927/0.3704, allocations: 0.6565 MB / 1.082 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004424/0.3708, allocations: 171.5 kB / 1.082 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.581e-05/0.3708, allocations: 0 / 1.082 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.3709, allocations: 0 / 1.082 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.33e-05/0.3709, allocations: 0 / 1.082 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.3712, allocations: 35.89 kB / 1.082 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.92e-05/0.3712, allocations: 11.94 kB / 1.082 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.3713, allocations: 4 kB / 1.082 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.447e-05/0.3713, allocations: 11.98 kB / 1.082 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.246e-05/0.3714, allocations: 0 / 1.082 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.3714, allocations: 4 kB / 1.082 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-05/0.3715, allocations: 39.89 kB / 1.082 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.3715, allocations: 11.98 kB / 1.082 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.3716, allocations: 8 kB / 1.083 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.188e-05/0.3717, allocations: 27.89 kB / 1.083 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3717, allocations: 0 / 1.083 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.01e-07/0.3717, allocations: 0 / 1.083 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.3717, allocations: 3.938 kB / 1.083 GB, free: 12.77 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.0004174/0.3721, allocations: 327.6 kB / 1.083 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3721, allocations: 12.02 kB / 1.083 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.3722, allocations: 4.844 kB / 1.083 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.3723, allocations: 168.4 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3723, allocations: 4.375 kB / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.3724, allocations: 384 / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.3725, allocations: 46.19 kB / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.3725, allocations: 192 / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3725, allocations: 3.938 kB / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3725, allocations: 7.984 kB / 1.083 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.3726, allocations: 15.98 kB / 1.083 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.3728, allocations: 161.9 kB / 1.083 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.462e-05/0.3729, allocations: 46.62 kB / 1.083 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.3729, allocations: 16.98 kB / 1.083 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.373, allocations: 85.09 kB / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.3731, allocations: 42.44 kB / 1.083 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3731, allocations: 0 / 1.083 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.001321/0.3744, allocations: 488 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.3745, allocations: 55.41 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.915e-05/0.3745, allocations: 97.84 kB / 1.084 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.3746, allocations: 25.7 kB / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.3746, allocations: 80.14 kB / 1.084 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.3746, allocations: 23.66 kB / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.3747, allocations: 25.7 kB / 1.084 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3748, allocations: 315 kB / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.786e-05/0.3749, allocations: 12 kB / 1.085 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.3749, allocations: 11.98 kB / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.022e-05/0.375, allocations: 40.8 kB / 1.085 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.375, allocations: 0 / 1.085 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001181/0.3751, allocations: 70.02 kB / 1.085 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3751, allocations: 11.94 kB / 1.085 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3751, allocations: 3.984 kB / 1.085 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3752, allocations: 0 / 1.085 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.73e-05/0.3753, allocations: 20 kB / 1.085 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3753, allocations: 4 kB / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.293e-05/0.3753, allocations: 0 / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3753, allocations: 4 kB / 1.085 GB, free: 10.27 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 8.404e-05/0.3754, allocations: 113.8 kB / 1.085 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.3754, allocations: 7.938 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.3756, allocations: 81.92 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3756, allocations: 0 / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3756, allocations: 0 / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.3756, allocations: 8 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.3758, allocations: 161.7 kB / 1.085 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3758, allocations: 0 / 1.085 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.189e-05/0.3759, allocations: 15.92 kB / 1.085 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.3759, allocations: 11.88 kB / 1.085 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3759, allocations: 0 / 1.085 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.3759, allocations: 0 / 1.085 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3759, allocations: 3.938 kB / 1.085 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.3761, allocations: 121 kB / 1.085 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.3762, allocations: 85.08 kB / 1.085 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.3762, allocations: 0 / 1.085 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.616e-05/0.3762, allocations: 4 kB / 1.085 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.3763, allocations: 7.984 kB / 1.085 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.3763, allocations: 4 kB / 1.085 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.4e-05/0.3763, allocations: 75.28 kB / 1.085 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.944e-06/0.3763, allocations: 0 / 1.085 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002243/0.3765, allocations: 35.94 kB / 1.085 GB, free: 9.445 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.0002388/0.3768, allocations: 131.3 kB / 1.085 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.3769, allocations: 39.97 kB / 1.086 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3769, allocations: 0 / 1.086 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.149e-05/0.377, allocations: 27.92 kB / 1.086 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.3771, allocations: 0 / 1.086 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.3775, allocations: 151.2 kB / 1.086 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.3778, allocations: 0.6848 MB / 1.086 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.3778, allocations: 7.938 kB / 1.086 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.3779, allocations: 11.44 kB / 1.086 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3779, allocations: 0 / 1.086 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of Templates: time 0.003409/0.3813, allocations: 0.8586 MB / 1.087 GB, free: 7.484 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=400 -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