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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001463/0.001463, allocations: 110 kB / 16.37 MB, free: 6.469 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.001608/0.001608, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.417/2.417, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.84 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2925, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001979/0.2945, allocations: 0.612 MB / 1.027 GB, free: 1.434 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004071/0.2949, allocations: 157.9 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.661e-05/0.295, allocations: 0 / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.295, allocations: 3.938 kB / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.438e-05/0.295, allocations: 0 / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.2953, allocations: 47.83 kB / 1.028 GB, free: 1.23 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.552e-05/0.2954, allocations: 11.98 kB / 1.028 GB, free: 1.219 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.2954, allocations: 4 kB / 1.028 GB, free: 1.215 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.992e-05/0.2955, allocations: 8 kB / 1.028 GB, free: 1.207 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.2955, allocations: 15.91 kB / 1.028 GB, free: 1.191 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.2956, allocations: 4 kB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-05/0.2957, allocations: 35.91 kB / 1.028 GB, free: 1.152 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.2957, allocations: 0 / 1.028 GB, free: 1.152 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.2957, allocations: 7.938 kB / 1.028 GB, free: 1.145 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.2958, allocations: 35.94 kB / 1.028 GB, free: 1.109 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2958, allocations: 0 / 1.028 GB, free: 1.109 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2958, allocations: 0 / 1.028 GB, free: 1.109 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2958, allocations: 0 / 1.028 GB, free: 1.109 MB / 0.795 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.0003469/0.2962, allocations: 335.5 kB / 1.028 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2962, allocations: 8.031 kB / 1.028 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.2963, allocations: 0.9375 kB / 1.028 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.767e-05/0.2964, allocations: 168.4 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.2964, allocations: 384 / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.2964, allocations: 384 / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.2965, allocations: 42.25 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.2965, allocations: 192 / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.2965, allocations: 11.94 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2965, allocations: 3.938 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.42e-05/0.2966, allocations: 23.92 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.2968, allocations: 165.6 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.806e-05/0.2969, allocations: 46.56 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.2969, allocations: 16.98 kB / 1.028 GB, free: 152 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.094e-05/0.297, allocations: 77.11 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.297, allocations: 42.55 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.297, allocations: 0 / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.001229/0.2983, allocations: 484 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.2983, allocations: 55.41 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.601e-05/0.2984, allocations: 89.86 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.2984, allocations: 25.7 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.2984, allocations: 80.14 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.2985, allocations: 27.77 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.2985, allocations: 25.72 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2986, allocations: 318.8 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-05/0.2987, allocations: 12 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.2987, allocations: 11.98 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.147e-05/0.2988, allocations: 32.86 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2988, allocations: 448 / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001068/0.2989, allocations: 73.84 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2989, allocations: 11.94 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2989, allocations: 4 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2989, allocations: 0 / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.299, allocations: 23.97 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.299, allocations: 4.062 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.299, allocations: 0 / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.2991, allocations: 4 kB / 1.03 GB, free: 14.62 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 6.579e-05/0.2991, allocations: 109.8 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.2992, allocations: 11.84 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.2993, allocations: 85.58 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2993, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2993, allocations: 4 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.2994, allocations: 3.984 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.2995, allocations: 165.6 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2995, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.132e-05/0.2996, allocations: 12 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2996, allocations: 3.938 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.2996, allocations: 11.92 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2996, allocations: 0 / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2996, allocations: 0 / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.2998, allocations: 117 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.2998, allocations: 84.95 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.2998, allocations: 4 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.497e-05/0.2999, allocations: 4.031 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/0.2999, allocations: 3.984 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.2999, allocations: 4 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.181e-05/0.3, allocations: 79.34 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3, allocations: 0 / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002066/0.3002, allocations: 32 kB / 1.03 GB, free: 13.79 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.0001888/0.3004, allocations: 135.2 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.3005, allocations: 35.98 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3005, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.391e-05/0.3005, allocations: 27.92 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.3007, allocations: 4 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.301, allocations: 141.5 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.3012, allocations: 0.6807 MB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.3012, allocations: 7.938 kB / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.3012, allocations: 11.44 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3012, allocations: 0 / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of Templates: time 0.00291/0.3042, allocations: 0.8763 MB / 1.032 GB, free: 11.82 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 -s gbode -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/jenkins1/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