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.001934/0.001934, allocations: 114.2 kB / 16.42 MB, free: 6.5 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.002127/0.002127, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.483/1.483, allocations: 222.9 MB / 241.1 MB, free: 15.19 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.587/2.587, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 67.89 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9773/0.9791, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002111/0.9812, allocations: 0.6096 MB / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005164/0.9818, allocations: 163.4 kB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.9818, allocations: 0 / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.9818, allocations: 3.938 kB / 1.168 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.794e-05/0.9819, allocations: 0 / 1.168 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.9823, allocations: 35.89 kB / 1.168 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.392e-05/0.9824, allocations: 15.98 kB / 1.168 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.9825, allocations: 4 kB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.315e-05/0.9825, allocations: 7.984 kB / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.9826, allocations: 15.92 kB / 1.168 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.9826, allocations: 0 / 1.168 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.9827, allocations: 35.97 kB / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.9827, allocations: 0 / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.9828, allocations: 15.92 kB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.9829, allocations: 27.89 kB / 1.168 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9829, allocations: 0 / 1.168 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9829, allocations: 0 / 1.168 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.9829, allocations: 0 / 1.168 GB, free: 2.922 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.0004214/0.9833, allocations: 347.8 kB / 1.169 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.9834, allocations: 8.922 kB / 1.169 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.9835, allocations: 0.9375 kB / 1.169 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.9836, allocations: 168.4 kB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.9836, allocations: 384 / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.9836, allocations: 4.375 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.9838, allocations: 42.25 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.9838, allocations: 192 / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.9838, allocations: 11.94 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.9838, allocations: 0 / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.869e-05/0.9839, allocations: 11.98 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.984, allocations: 165.6 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.964e-05/0.9841, allocations: 46.61 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.9842, allocations: 20.98 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.9843, allocations: 77.11 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.9844, allocations: 38.55 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.9844, allocations: 4 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.001376/0.9857, allocations: 492.2 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.9858, allocations: 55.41 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.133e-05/0.9859, allocations: 93.86 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.9859, allocations: 29.7 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.9859, allocations: 84.27 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.986, allocations: 27.78 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.986, allocations: 25.7 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.9861, allocations: 314.8 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.19e-05/0.9862, allocations: 12 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/0.9862, allocations: 15.98 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.746e-05/0.9863, allocations: 28.86 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.9863, allocations: 0 / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001121/0.9864, allocations: 73.81 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.9864, allocations: 15.94 kB / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.9864, allocations: 0 / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.9865, allocations: 0 / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.335e-05/0.9865, allocations: 19.92 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.9866, allocations: 4.062 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/0.9866, allocations: 0 / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.9866, allocations: 8 kB / 1.17 GB, free: 424 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 8.565e-05/0.9867, allocations: 105.8 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.9867, allocations: 7.938 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.9869, allocations: 89.56 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.9869, allocations: 0 / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.9869, allocations: 3.984 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.987, allocations: 85.05 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.987, allocations: 0 / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.756e-05/0.9871, allocations: 4.188 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.9871, allocations: 8 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003343/0.9874, allocations: 152.9 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000256/0.9877, allocations: 274.7 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.386e-05/0.9877, allocations: 20.02 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.275e-05/0.9878, allocations: 75.28 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of Backend: time 5.01e-07/0.9878, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005615/0.9884, allocations: 129 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004765/0.9889, allocations: 0.5766 MB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of Templates: time 0.003715/0.9926, allocations: 0.9539 MB / 1.173 GB, free: 13.84 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