Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_9_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_9_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.005477/0.005477, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001079/0.001079, allocations: 193.5 kB / 16.67 MB, free: 5.977 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.327/1.327, allocations: 222.9 MB / 240.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 0.9509 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.019, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001841/1.021, allocations: 0.5974 MB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004771/1.022, allocations: 162.4 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.791e-05/1.022, allocations: 0 / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/1.022, allocations: 0.9688 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.529e-05/1.022, allocations: 7.938 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005525/1.022, allocations: 42.86 kB / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/1.023, allocations: 17.23 kB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.724e-05/1.023, allocations: 2.516 kB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.054e-05/1.023, allocations: 7.797 kB / 1.089 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/1.023, allocations: 13.84 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/1.023, allocations: 0 / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/1.023, allocations: 32.58 kB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/1.023, allocations: 3.391 kB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/1.023, allocations: 11.06 kB / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/1.023, allocations: 34.05 kB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/1.023, allocations: 1.125 kB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.824e-06/1.023, allocations: 0 / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.719e-06/1.023, allocations: 0 / 1.089 GB, free: 4.973 MB / 0.8575 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.0004951/1.024, allocations: 327.3 kB / 1.089 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.024, allocations: 10 kB / 1.089 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/1.024, allocations: 2.344 kB / 1.089 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.379e-05/1.024, allocations: 161.6 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/1.024, allocations: 1.719 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/1.024, allocations: 11.39 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/1.024, allocations: 46.41 kB / 1.089 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/1.024, allocations: 192 / 1.089 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/1.024, allocations: 3.938 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.024, allocations: 1.922 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.671e-05/1.024, allocations: 15.97 kB / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/1.024, allocations: 169.8 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.949e-05/1.025, allocations: 47.94 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/1.025, allocations: 23.8 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.123e-05/1.025, allocations: 80.45 kB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/1.025, allocations: 32.44 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/1.025, allocations: 0 / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.001195/1.026, allocations: 485.9 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/1.026, allocations: 56.41 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.55e-05/1.026, allocations: 99.89 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/1.026, allocations: 27.08 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.312e-05/1.026, allocations: 80.98 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/1.026, allocations: 23.08 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/1.026, allocations: 20.7 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.671e-05/1.026, allocations: 313.3 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/1.026, allocations: 12.86 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-05/1.026, allocations: 21.05 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.781e-05/1.026, allocations: 36.5 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/1.026, allocations: 0 / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001013/1.026, allocations: 68.8 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.026, allocations: 9.062 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/1.026, allocations: 80 / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/1.027, allocations: 5.672 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/1.027, allocations: 16.58 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.027, allocations: 8.953 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.522e-05/1.027, allocations: 5.625 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/1.027, allocations: 5.688 kB / 1.091 GB, free: 2.84 MB / 0.8575 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 5.034e-05/1.027, allocations: 108.8 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/1.027, allocations: 10.34 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/1.027, allocations: 88.3 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.027, allocations: 2.016 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.027, allocations: 0 / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.027, allocations: 0.7969 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.52e-05/1.027, allocations: 166.7 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.027, allocations: 4 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-05/1.027, allocations: 21.25 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.027, allocations: 5.547 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/1.027, allocations: 1.75 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.027, allocations: 0 / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.027, allocations: 0.875 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/1.027, allocations: 110.5 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/1.027, allocations: 87.53 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/1.027, allocations: 5.406 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.321e-05/1.027, allocations: 1.5 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/1.027, allocations: 8.516 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/1.027, allocations: 6.797 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.642e-05/1.027, allocations: 76.62 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.027, allocations: 0 / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000214/1.028, allocations: 29.84 kB / 1.092 GB, free: 2.168 MB / 0.8575 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.0001988/1.028, allocations: 137.5 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001339/1.028, allocations: 37.84 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.028, allocations: 0 / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.865e-05/1.028, allocations: 25.2 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/1.028, allocations: 3.062 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/1.029, allocations: 141 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/1.029, allocations: 0.6831 MB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.566e-05/1.029, allocations: 16.8 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/1.029, allocations: 12.48 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/1.029, allocations: 0 / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of Templates: time 0.00335/1.032, allocations: 0.8794 MB / 1.094 GB, free: 1.105 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches