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.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.001333/0.001333, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001491/0.001491, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.48/1.48, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.261/3.261, allocations: 429.6 MB / 0.673 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.545e-05/3.735e-05, allocations: 4.703 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002563/0.0026, allocations: 0.6131 MB / 0.8782 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006037/0.003204, allocations: 149.8 kB / 0.8784 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.003235, allocations: 0.5 kB / 0.8784 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.003249, allocations: 1.625 kB / 0.8784 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.137e-05/0.003281, allocations: 0 / 0.8784 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.003734, allocations: 44.58 kB / 0.8784 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.613e-05/0.0038, allocations: 15.94 kB / 0.8784 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.003848, allocations: 8.531 kB / 0.8785 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.608e-05/0.003884, allocations: 7.938 kB / 0.8785 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.596e-05/0.00397, allocations: 13.33 kB / 0.8785 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.003986, allocations: 0 / 0.8785 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.0041, allocations: 27.97 kB / 0.8785 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.004119, allocations: 4.641 kB / 0.8785 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.004152, allocations: 8 kB / 0.8785 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.004302, allocations: 40.47 kB / 0.8786 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.004308, allocations: 4 kB / 0.8786 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004309, allocations: 0.6562 kB / 0.8786 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.004313, allocations: 0 / 0.8786 GB, free: 5.598 MB / 0.8386 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.0005218/0.004835, allocations: 256 kB / 0.8788 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.00488, allocations: 8.031 kB / 0.8788 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.267e-05/0.004943, allocations: 8.891 kB / 0.8788 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.005094, allocations: 107.4 kB / 0.8789 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.005109, allocations: 384 / 0.8789 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.005145, allocations: 8.375 kB / 0.8789 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.005321, allocations: 71.89 kB / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.005332, allocations: 192 / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.005343, allocations: 3.25 kB / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.005348, allocations: 384 / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.331e-05/0.005432, allocations: 19.92 kB / 0.879 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002215/0.005653, allocations: 105.3 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.005794, allocations: 38.62 kB / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.005856, allocations: 24.97 kB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.491e-05/0.005951, allocations: 7.938 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.005995, allocations: 31.28 kB / 0.8792 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.005996, allocations: 0 / 0.8792 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.00189/0.007886, allocations: 418.2 kB / 0.8796 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.007948, allocations: 55.34 kB / 0.8797 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.82e-05/0.008046, allocations: 89.86 kB / 0.8798 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.008082, allocations: 29.7 kB / 0.8798 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/0.008153, allocations: 84.14 kB / 0.8799 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.0082, allocations: 23.78 kB / 0.8799 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.008273, allocations: 33.72 kB / 0.8799 GB, free: 4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.008492, allocations: 314.8 kB / 0.8802 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.008546, allocations: 15.98 kB / 0.8802 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.075e-05/0.008586, allocations: 12 kB / 0.8802 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.008693, allocations: 32.84 kB / 0.8803 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.008694, allocations: 0 / 0.8803 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001976/0.008891, allocations: 69.69 kB / 0.8803 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.008911, allocations: 8 kB / 0.8804 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.008916, allocations: 0 / 0.8804 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.008938, allocations: 0 / 0.8804 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.009053, allocations: 15.94 kB / 0.8804 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.009062, allocations: 7.938 kB / 0.8804 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.98e-05/0.009102, allocations: 4 kB / 0.8804 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.009115, allocations: 3.984 kB / 0.8804 GB, free: 3.508 MB / 0.8386 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 0.0001277/0.009243, allocations: 113.8 kB / 0.8805 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.009274, allocations: 11.95 kB / 0.8805 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.009516, allocations: 81.92 kB / 0.8806 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.009519, allocations: 4 kB / 0.8806 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.009526, allocations: 7.875 kB / 0.8806 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.00953, allocations: 0 / 0.8806 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.009697, allocations: 113.3 kB / 0.8807 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.009699, allocations: 4 kB / 0.8807 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.009815, allocations: 12 kB / 0.8807 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.009818, allocations: 0 / 0.8807 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.009827, allocations: 0 / 0.8807 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.00983, allocations: 192 / 0.8807 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.009834, allocations: 4 kB / 0.8807 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.01015, allocations: 129 kB / 0.8808 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.01017, allocations: 11.97 kB / 0.8809 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.01019, allocations: 0 / 0.8809 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.31e-05/0.01025, allocations: 0 / 0.8809 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.01028, allocations: 12.05 kB / 0.8809 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.0103, allocations: 11.94 kB / 0.8809 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.067e-05/0.01036, allocations: 75.28 kB / 0.8809 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.01036, allocations: 0 / 0.8809 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004169/0.01078, allocations: 27.94 kB / 0.881 GB, free: 2.84 MB / 0.8386 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.0003235/0.0111, allocations: 135.1 kB / 0.8811 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.01126, allocations: 35.92 kB / 0.8811 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.01126, allocations: 4 kB / 0.8811 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.807e-05/0.01132, allocations: 19.97 kB / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.01157, allocations: 13.22 kB / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.01204, allocations: 132.5 kB / 0.8813 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.501e-05/0.01212, allocations: 67.28 kB / 0.8814 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.86e-05/0.01217, allocations: 4 kB / 0.8814 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.01221, allocations: 12.5 kB / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/0.01221, allocations: 0 / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of Templates: time 0.005001/0.01722, allocations: 0.8921 MB / 0.8823 GB, free: 1.492 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.003985742921941]