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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 109 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 192.8 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.153/3.153, allocations: 496 MB / 0.7835 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 66.14 kB / 1.138 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3593, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001767/0.3611, allocations: 0.6192 MB / 1.308 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004377/0.3615, allocations: 163.8 kB / 1.308 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.652e-05/0.3615, allocations: 0 / 1.308 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.3616, allocations: 0 / 1.308 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.126e-05/0.3616, allocations: 7.938 kB / 1.308 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.3619, allocations: 39.91 kB / 1.308 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.859e-05/0.362, allocations: 15.97 kB / 1.308 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.362, allocations: 4 kB / 1.308 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.957e-05/0.362, allocations: 4 kB / 1.308 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.3621, allocations: 11.92 kB / 1.308 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.3621, allocations: 0 / 1.308 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.517e-05/0.3622, allocations: 31.97 kB / 1.308 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.3622, allocations: 7.984 kB / 1.308 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.3622, allocations: 7.938 kB / 1.308 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3624, allocations: 35.88 kB / 1.308 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3624, allocations: 4 kB / 1.308 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3624, allocations: 0 / 1.308 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.3624, allocations: 0 / 1.308 GB, free: 0.875 MB / 0.9981 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.0003887/0.3628, allocations: 258.3 kB / 1.308 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3628, allocations: 12.92 kB / 1.309 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.3628, allocations: 0.9375 kB / 1.309 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.3629, allocations: 106.5 kB / 1.309 GB, free: 460 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3629, allocations: 4.375 kB / 1.309 GB, free: 456 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.363, allocations: 4.375 kB / 1.309 GB, free: 452 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.3631, allocations: 46.23 kB / 1.309 GB, free: 400 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3631, allocations: 192 / 1.309 GB, free: 400 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3631, allocations: 7.938 kB / 1.309 GB, free: 392 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3631, allocations: 7.938 kB / 1.309 GB, free: 384 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.311e-05/0.3632, allocations: 8 kB / 1.309 GB, free: 376 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.3633, allocations: 132.8 kB / 1.309 GB, free: 200 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.3634, allocations: 50.5 kB / 1.309 GB, free: 140 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.3635, allocations: 20.97 kB / 1.309 GB, free: 116 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.12e-05/0.3636, allocations: 4 kB / 1.309 GB, free: 112 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.3636, allocations: 30.56 kB / 1.309 GB, free: 72 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3636, allocations: 0 / 1.309 GB, free: 72 kB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.001258/0.3648, allocations: 419 kB / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.3649, allocations: 51.41 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.442e-05/0.3649, allocations: 97.86 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.365, allocations: 29.64 kB / 1.309 GB, free: 15.4 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.365, allocations: 84.14 kB / 1.31 GB, free: 15.31 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.365, allocations: 27.77 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.3651, allocations: 21.72 kB / 1.31 GB, free: 15.26 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3652, allocations: 314.8 kB / 1.31 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.994e-05/0.3652, allocations: 11.98 kB / 1.31 GB, free: 14.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.3653, allocations: 16.12 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.718e-05/0.3653, allocations: 36.84 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3653, allocations: 0 / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001099/0.3654, allocations: 69.64 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3654, allocations: 9.5 kB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3655, allocations: 0 / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3655, allocations: 4 kB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.3655, allocations: 15.77 kB / 1.31 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3656, allocations: 4 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.3656, allocations: 4.422 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.3656, allocations: 4 kB / 1.31 GB, free: 14.77 MB / 1.014 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.128e-05/0.3657, allocations: 113.8 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.3657, allocations: 3.938 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.3659, allocations: 93.8 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3659, allocations: 0 / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3659, allocations: 4 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3659, allocations: 0 / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.366, allocations: 132.7 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.366, allocations: 8 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/0.3661, allocations: 12 kB / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.3661, allocations: 7.938 kB / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.3661, allocations: 0 / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3661, allocations: 0 / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3661, allocations: 0 / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.3663, allocations: 117 kB / 1.311 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.3663, allocations: 11.97 kB / 1.311 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3663, allocations: 4.047 kB / 1.311 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.337e-05/0.3663, allocations: 4 kB / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.3664, allocations: 7.938 kB / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.3664, allocations: 7.984 kB / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.3664, allocations: 79.28 kB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3664, allocations: 0 / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002199/0.3666, allocations: 27.94 kB / 1.311 GB, free: 14.06 MB / 1.014 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.0002458/0.3669, allocations: 128 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.367, allocations: 36.02 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.367, allocations: 4 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.3671, allocations: 23.97 kB / 1.311 GB, free: 13.87 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.3672, allocations: 4 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.3676, allocations: 137.4 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.3678, allocations: 0.6845 MB / 1.312 GB, free: 12.99 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.724e-05/0.3679, allocations: 15.73 kB / 1.312 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.3679, allocations: 11.44 kB / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.3679, allocations: 0 / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of Templates: time 0.003692/0.3716, allocations: 0.9167 MB / 1.313 GB, free: 12.06 MB / 1.014 GB " [Timeout remaining time 300] 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 -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/jenkins/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.674280144274235]