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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001409/0.001409, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001686/0.001686, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.843/2.843, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 66.58 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3102, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001947/0.3122, allocations: 0.662 MB / 1.053 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004342/0.3127, allocations: 171.4 kB / 1.053 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.605e-05/0.3127, allocations: 0 / 1.053 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.3127, allocations: 0 / 1.053 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.086e-05/0.3128, allocations: 3.938 kB / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.313, allocations: 31.89 kB / 1.053 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.79e-05/0.3131, allocations: 16 kB / 1.053 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.3132, allocations: 8 kB / 1.053 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.987e-05/0.3132, allocations: 7.922 kB / 1.053 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.133e-05/0.3133, allocations: 11.98 kB / 1.053 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.3133, allocations: 0 / 1.053 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.788e-05/0.3134, allocations: 31.97 kB / 1.053 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.3134, allocations: 3.984 kB / 1.053 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.3134, allocations: 7.938 kB / 1.053 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.3135, allocations: 35.89 kB / 1.053 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3135, allocations: 0 / 1.053 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3135, allocations: 4 kB / 1.053 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.3135, allocations: 4 kB / 1.053 GB, free: 7.848 MB / 0.8106 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.0004256/0.314, allocations: 327.5 kB / 1.053 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.314, allocations: 8.031 kB / 1.053 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.3141, allocations: 8.922 kB / 1.053 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.3142, allocations: 160.4 kB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3142, allocations: 384 / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.3143, allocations: 4.375 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.3144, allocations: 54.19 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3144, allocations: 192 / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3144, allocations: 7.938 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3144, allocations: 0 / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.569e-05/0.3145, allocations: 11.98 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.3147, allocations: 166 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.86e-05/0.3148, allocations: 42.56 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.3148, allocations: 16.98 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.832e-05/0.3149, allocations: 93.03 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.315, allocations: 30.56 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.315, allocations: 0 / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.001278/0.3162, allocations: 496.3 kB / 1.054 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.3163, allocations: 51.41 kB / 1.054 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.041e-05/0.3164, allocations: 97.84 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.59e-05/0.3165, allocations: 29.83 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.3165, allocations: 84.14 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.3165, allocations: 19.66 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.3166, allocations: 29.64 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3167, allocations: 310.8 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.3168, allocations: 12 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/0.3168, allocations: 19.92 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.188e-05/0.3169, allocations: 28.86 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3169, allocations: 8 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001054/0.317, allocations: 73.67 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.317, allocations: 7.938 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.317, allocations: 320 / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3171, allocations: 3.984 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.3171, allocations: 15.94 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.3172, allocations: 0 / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.3172, allocations: 7.938 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3172, allocations: 3.984 kB / 1.055 GB, free: 5.352 MB / 0.8106 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 0.0001479/0.3173, allocations: 117.8 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.3174, allocations: 7.844 kB / 1.055 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.3175, allocations: 85.62 kB / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3176, allocations: 0 / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3176, allocations: 0 / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3176, allocations: 0 / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.3177, allocations: 161.7 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3177, allocations: 0 / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.167e-05/0.3178, allocations: 23.92 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3178, allocations: 7.938 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3178, allocations: 0 / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3178, allocations: 4 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3178, allocations: 0 / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.318, allocations: 105.1 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.3181, allocations: 84.95 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.3181, allocations: 8.031 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-05/0.3181, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.3182, allocations: 12.05 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.3182, allocations: 3.938 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.3182, allocations: 79.28 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3182, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002158/0.3184, allocations: 32 kB / 1.056 GB, free: 4.531 MB / 0.8106 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.0002121/0.3187, allocations: 131.2 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.3188, allocations: 31.98 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3188, allocations: 4.094 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.573e-05/0.3188, allocations: 27.92 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.319, allocations: 10.06 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.3193, allocations: 147.1 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.3196, allocations: 0.682 MB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.3197, allocations: 8 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.3197, allocations: 11.44 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of SimCode: time 5.81e-07/0.3197, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of Templates: time 0.00315/0.3229, allocations: 0.8598 MB / 1.058 GB, free: 2.574 MB / 0.8106 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