Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 77.47 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 157.2 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.912/2.912, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 67.89 kB / 0.982 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.806/0.8082, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00151/0.8097, allocations: 0.6114 MB / 1.155 GB, free: 32.96 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003383/0.81, allocations: 144.8 kB / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.81, allocations: 0 / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.81, allocations: 0 / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 1.567e-05/0.8101, allocations: 3.938 kB / 1.155 GB, free: 32.87 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.8103, allocations: 39.25 kB / 1.155 GB, free: 32.86 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.761e-05/0.8104, allocations: 12.8 kB / 1.155 GB, free: 32.85 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.8104, allocations: 10.61 kB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.535e-05/0.8104, allocations: 6.469 kB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.8105, allocations: 10.27 kB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.8105, allocations: 4 kB / 1.155 GB, free: 32.83 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.736e-05/0.8106, allocations: 30.45 kB / 1.155 GB, free: 32.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.8106, allocations: 10.61 kB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.519e-05/0.8106, allocations: 6.844 kB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.53e-05/0.8107, allocations: 33.62 kB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.8107, allocations: 0 / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8107, allocations: 0 / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.8107, allocations: 2.938 kB / 1.155 GB, free: 32.8 MB / 1.076 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.0002703/0.811, allocations: 251.8 kB / 1.155 GB, free: 32.54 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.811, allocations: 8.031 kB / 1.155 GB, free: 32.54 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.811, allocations: 7.422 kB / 1.155 GB, free: 32.54 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.241e-05/0.8111, allocations: 116.6 kB / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.8111, allocations: 384 / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.8111, allocations: 3.031 kB / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.8112, allocations: 71.09 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.8112, allocations: 192 / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.8112, allocations: 3.938 kB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.8112, allocations: 2.688 kB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.929e-05/0.8113, allocations: 15.16 kB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.841e-05/0.8114, allocations: 107.8 kB / 1.155 GB, free: 32.2 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.885e-05/0.8115, allocations: 48.12 kB / 1.155 GB, free: 32.16 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.8115, allocations: 18.48 kB / 1.155 GB, free: 32.15 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-05/0.8115, allocations: 12.31 kB / 1.155 GB, free: 32.14 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.8116, allocations: 34.56 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.8116, allocations: 2.656 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.001043/0.8126, allocations: 404.9 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.529e-05/0.8126, allocations: 51.41 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.496e-05/0.8127, allocations: 96.64 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.8127, allocations: 25.7 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.135e-05/0.8127, allocations: 80.14 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.8127, allocations: 36.31 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.8127, allocations: 23.14 kB / 1.156 GB, free: 31.47 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.964e-05/0.8128, allocations: 318.3 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.322e-05/0.8128, allocations: 11.94 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088e-05/0.8128, allocations: 15.89 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.227e-05/0.8129, allocations: 37.61 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.8129, allocations: 448 / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.629e-05/0.813, allocations: 66.59 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.813, allocations: 5.062 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.813, allocations: 3.938 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.813, allocations: 6.531 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.8131, allocations: 26.12 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.8131, allocations: 0 / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/0.8131, allocations: 2.719 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.8131, allocations: 3.469 kB / 1.157 GB, free: 31.06 MB / 1.076 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 4.076e-05/0.8131, allocations: 112.4 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.8131, allocations: 6.766 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.8133, allocations: 82.47 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.8133, allocations: 0 / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.8133, allocations: 0 / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.8133, allocations: 10.06 kB / 1.157 GB, free: 30.87 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.855e-05/0.8133, allocations: 106.8 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.8133, allocations: 3.938 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.8134, allocations: 14.56 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8134, allocations: 2.906 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.8134, allocations: 0 / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.8134, allocations: 3.938 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8134, allocations: 0 / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.8136, allocations: 110.4 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-06/0.8136, allocations: 10.23 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.8136, allocations: 0 / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.357e-05/0.8136, allocations: 15.06 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.8136, allocations: 6.438 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.8137, allocations: 4 kB / 1.157 GB, free: 30.63 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.477e-05/0.8137, allocations: 78.16 kB / 1.157 GB, free: 30.56 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8137, allocations: 0 / 1.157 GB, free: 30.56 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002122/0.8139, allocations: 27.34 kB / 1.157 GB, free: 30.55 MB / 1.076 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.0001676/0.814, allocations: 130.3 kB / 1.157 GB, free: 30.46 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.747e-05/0.8141, allocations: 42.66 kB / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8141, allocations: 8.031 kB / 1.157 GB, free: 30.44 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.941e-05/0.8142, allocations: 23.44 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.8143, allocations: 6.438 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.8145, allocations: 143.4 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.603e-05/0.8146, allocations: 63.09 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.818e-05/0.8146, allocations: 2.906 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.8146, allocations: 18.67 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.8146, allocations: 2.719 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of Templates: time 0.003914/0.8185, allocations: 0.8642 MB / 1.159 GB, free: 30.1 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.505176192033105]