Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_10_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_10_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.001336/0.001336, allocations: 115.4 kB / 16.42 MB, free: 6.02 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.00134/0.00134, allocations: 184.3 kB / 17.35 MB, free: 5.625 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.433/1.433, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.685/2.685, allocations: 437 MB / 0.7112 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 75.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.003, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002365/1.006, allocations: 0.5945 MB / 1.168 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006443/1.006, allocations: 167.4 kB / 1.168 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/1.006, allocations: 0 / 1.168 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/1.006, allocations: 0 / 1.168 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.346e-05/1.006, allocations: 0 / 1.168 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/1.007, allocations: 39.84 kB / 1.168 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.68e-05/1.007, allocations: 11.97 kB / 1.168 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/1.007, allocations: 4 kB / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.475e-05/1.007, allocations: 8 kB / 1.168 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.691e-05/1.007, allocations: 11.86 kB / 1.168 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/1.007, allocations: 4 kB / 1.168 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/1.007, allocations: 43.95 kB / 1.168 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/1.007, allocations: 4 kB / 1.168 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/1.007, allocations: 7.938 kB / 1.168 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/1.008, allocations: 27.94 kB / 1.168 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.008, allocations: 0 / 1.168 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.455e-06/1.008, allocations: 0 / 1.168 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.696e-06/1.008, allocations: 0 / 1.168 GB, free: 2.969 MB / 0.8887 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.0005001/1.008, allocations: 339.9 kB / 1.169 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.008, allocations: 8.922 kB / 1.169 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/1.008, allocations: 4.938 kB / 1.169 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/1.008, allocations: 168.4 kB / 1.169 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/1.008, allocations: 4.375 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/1.008, allocations: 4.312 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/1.009, allocations: 42.25 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.009, allocations: 192 / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/1.009, allocations: 3.938 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/1.009, allocations: 4 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.552e-05/1.009, allocations: 15.98 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/1.009, allocations: 157.7 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/1.009, allocations: 46.56 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.694e-05/1.009, allocations: 16.98 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/1.009, allocations: 81.11 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/1.009, allocations: 42.55 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/1.009, allocations: 0 / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.001456/1.011, allocations: 495.9 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/1.011, allocations: 55.41 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.651e-05/1.011, allocations: 97.86 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/1.011, allocations: 25.7 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/1.011, allocations: 80.14 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/1.011, allocations: 27.78 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/1.011, allocations: 21.72 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.011, allocations: 319 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.253e-05/1.011, allocations: 15.94 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-05/1.011, allocations: 11.98 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.79e-05/1.011, allocations: 41.08 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.011, allocations: 0 / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001178/1.011, allocations: 65.64 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.011, allocations: 11.94 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.012, allocations: 0 / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.012, allocations: 0 / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.364e-05/1.012, allocations: 28.3 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/1.012, allocations: 0 / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/1.012, allocations: 4 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/1.012, allocations: 4 kB / 1.17 GB, free: 476 kB / 0.8887 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.81e-05/1.012, allocations: 113.8 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/1.012, allocations: 11.94 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/1.012, allocations: 77.62 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.012, allocations: 0 / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.012, allocations: 7.984 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/1.012, allocations: 85.05 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/1.012, allocations: 4 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.362e-05/1.012, allocations: 0 / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/1.012, allocations: 4 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002086/1.012, allocations: 156.9 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002673/1.013, allocations: 270.7 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.737e-05/1.013, allocations: 16.02 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.693e-05/1.013, allocations: 83.28 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of Backend: time 3.61e-07/1.013, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004894/1.013, allocations: 129.9 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000461/1.014, allocations: 0.5687 MB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.003668/1.017, allocations: 0.9666 MB / 1.173 GB, free: 13.89 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches