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.001744/0.001744, allocations: 113 kB / 16.42 MB, free: 6.457 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.002049/0.002049, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.09 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.352/2.352, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 63.91 kB / 0.9516 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9249/0.9265, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001861/0.9284, allocations: 0.5998 MB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000414/0.9288, allocations: 161.5 kB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.9288, allocations: 3.938 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.9289, allocations: 4 kB / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.114e-05/0.9289, allocations: 0 / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.9292, allocations: 47.86 kB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.879e-05/0.9293, allocations: 17.47 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.9294, allocations: 1.875 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.319e-05/0.9294, allocations: 8.547 kB / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.9295, allocations: 12.95 kB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.9295, allocations: 1.219 kB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.542e-05/0.9296, allocations: 32.33 kB / 1.09 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.9296, allocations: 2.438 kB / 1.09 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.9296, allocations: 18.84 kB / 1.09 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.9298, allocations: 27.31 kB / 1.09 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9298, allocations: 0 / 1.09 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9298, allocations: 0 / 1.09 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.9298, allocations: 0 / 1.09 GB, free: 4.949 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.0003581/0.9302, allocations: 327.3 kB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.9302, allocations: 8.906 kB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.9302, allocations: 3.188 kB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.209e-05/0.9303, allocations: 162.8 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.9303, allocations: 5.219 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.9304, allocations: 6.5 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.9305, allocations: 46.23 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.9305, allocations: 192 / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.9305, allocations: 5.062 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.9305, allocations: 1.156 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.743e-05/0.9306, allocations: 14.92 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.9307, allocations: 170.7 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.161e-05/0.9308, allocations: 47.64 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.9309, allocations: 23.75 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.417e-05/0.931, allocations: 81.14 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.931, allocations: 31.98 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.931, allocations: 1.312 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.001265/0.9323, allocations: 485.3 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.9323, allocations: 56.84 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.66e-05/0.9323, allocations: 96.28 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.9324, allocations: 29.7 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.497e-05/0.9324, allocations: 81.45 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.9324, allocations: 22.45 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.9325, allocations: 20.77 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.507e-05/0.9325, allocations: 313.7 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.319e-05/0.9325, allocations: 16.36 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.868e-05/0.9326, allocations: 21.25 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.748e-05/0.9327, allocations: 32.78 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.9327, allocations: 0 / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001087/0.9328, allocations: 71.78 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.9328, allocations: 13 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.9328, allocations: 0.5625 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.9328, allocations: 1.062 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.9329, allocations: 13.14 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.9329, allocations: 4.688 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.933, allocations: 5.094 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.933, allocations: 5.906 kB / 1.092 GB, free: 2.82 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.205e-05/0.933, allocations: 109 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.933, allocations: 10.25 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.9332, allocations: 92.38 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.9332, allocations: 1.625 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.9332, allocations: 0 / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.684e-05/0.9333, allocations: 78.72 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.9333, allocations: 1.5 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.82e-05/0.9333, allocations: 10.77 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.9334, allocations: 11.84 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000171/0.9335, allocations: 149.1 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001924/0.9337, allocations: 268.5 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.395e-05/0.9338, allocations: 21.56 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.577e-05/0.9338, allocations: 80.44 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of Backend: time 1.81e-07/0.9338, allocations: 1.062 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004893/0.9343, allocations: 131 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003125/0.9346, allocations: 0.5717 MB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of Templates: time 0.003692/0.9383, allocations: 0.9713 MB / 1.094 GB, free: 1.305 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/jenkins1/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