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.001776/0.001776, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002195/0.002195, allocations: 191.5 kB / 22.11 MB, free: 4.34 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.477/1.477, allocations: 225.6 MB / 250.8 MB, free: 2.902 MB / 190.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 2.924/2.924, allocations: 495.8 MB / 0.7831 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] 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.002009/0.002009, allocations: 67.91 kB / 1.137 GB, free: 12.19 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.968/0.97, allocations: 173.6 MB / 1.307 GB, free: 33.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0017/0.9717, allocations: 0.6061 MB / 1.307 GB, free: 33.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003847/0.9721, allocations: 166.3 kB / 1.308 GB, free: 33.28 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.9721, allocations: 0 / 1.308 GB, free: 33.28 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.9721, allocations: 11.88 kB / 1.308 GB, free: 33.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.149e-05/0.9722, allocations: 0 / 1.308 GB, free: 33.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.9725, allocations: 43.88 kB / 1.308 GB, free: 33.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.394e-05/0.9725, allocations: 9.234 kB / 1.308 GB, free: 33.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.9726, allocations: 6.906 kB / 1.308 GB, free: 33.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.754e-05/0.9726, allocations: 10.56 kB / 1.308 GB, free: 33.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.465e-05/0.9726, allocations: 10.72 kB / 1.308 GB, free: 33.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.9727, allocations: 2.781 kB / 1.308 GB, free: 33.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.288e-05/0.9727, allocations: 28.48 kB / 1.308 GB, free: 33.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.9727, allocations: 9.984 kB / 1.308 GB, free: 33.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.9728, allocations: 7.938 kB / 1.308 GB, free: 33.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.693e-05/0.9729, allocations: 34.19 kB / 1.308 GB, free: 33.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.9729, allocations: 2.812 kB / 1.308 GB, free: 33.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9729, allocations: 0 / 1.308 GB, free: 33.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.9729, allocations: 3.938 kB / 1.308 GB, free: 33.2 MB / 1.061 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.0003242/0.9732, allocations: 255.7 kB / 1.308 GB, free: 32.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.9732, allocations: 9.219 kB / 1.308 GB, free: 32.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.9733, allocations: 4.938 kB / 1.308 GB, free: 32.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.052e-05/0.9733, allocations: 108.7 kB / 1.308 GB, free: 32.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.9734, allocations: 4.375 kB / 1.308 GB, free: 32.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.9734, allocations: 3.219 kB / 1.308 GB, free: 32.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.9735, allocations: 42.47 kB / 1.308 GB, free: 32.76 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.9735, allocations: 192 / 1.308 GB, free: 32.76 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.9735, allocations: 3.938 kB / 1.308 GB, free: 32.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.9735, allocations: 0 / 1.308 GB, free: 32.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.248e-05/0.9735, allocations: 15.83 kB / 1.308 GB, free: 32.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.9737, allocations: 137.8 kB / 1.308 GB, free: 32.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.164e-05/0.9738, allocations: 43.28 kB / 1.308 GB, free: 32.55 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.9738, allocations: 17.88 kB / 1.308 GB, free: 32.54 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/0.9739, allocations: 9.625 kB / 1.308 GB, free: 32.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.9739, allocations: 33.84 kB / 1.308 GB, free: 32.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.9739, allocations: 0 / 1.308 GB, free: 32.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.001086/0.975, allocations: 423.9 kB / 1.309 GB, free: 32.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.975, allocations: 55.41 kB / 1.309 GB, free: 32.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.878e-05/0.975, allocations: 95.86 kB / 1.309 GB, free: 32.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.975, allocations: 25.7 kB / 1.309 GB, free: 31.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.241e-05/0.975, allocations: 80.14 kB / 1.309 GB, free: 31.9 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.9751, allocations: 21.92 kB / 1.309 GB, free: 31.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.9751, allocations: 22.89 kB / 1.309 GB, free: 31.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.546e-05/0.9751, allocations: 317.4 kB / 1.309 GB, free: 31.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.9752, allocations: 17.16 kB / 1.309 GB, free: 31.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.182e-05/0.9752, allocations: 8.25 kB / 1.309 GB, free: 31.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.58e-05/0.9753, allocations: 36.33 kB / 1.309 GB, free: 31.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.9753, allocations: 6.625 kB / 1.309 GB, free: 31.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.061e-05/0.9753, allocations: 77 kB / 1.31 GB, free: 31.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.9754, allocations: 10.31 kB / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.9754, allocations: 4.016 kB / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.9754, allocations: 0 / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.9755, allocations: 15.53 kB / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.9755, allocations: 3.984 kB / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.9755, allocations: 4 kB / 1.31 GB, free: 31.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.9755, allocations: 2.906 kB / 1.31 GB, free: 31.44 MB / 1.061 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.671e-05/0.9755, allocations: 112.8 kB / 1.31 GB, free: 31.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.9755, allocations: 7.172 kB / 1.31 GB, free: 31.32 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.9757, allocations: 82.3 kB / 1.31 GB, free: 31.26 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.9757, allocations: 2.906 kB / 1.31 GB, free: 31.26 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.9757, allocations: 0 / 1.31 GB, free: 31.26 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.9757, allocations: 3.281 kB / 1.31 GB, free: 31.26 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.028e-05/0.9758, allocations: 138 kB / 1.31 GB, free: 31.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9758, allocations: 192 / 1.31 GB, free: 31.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.526e-05/0.9759, allocations: 19.36 kB / 1.31 GB, free: 31.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.9759, allocations: 3.938 kB / 1.31 GB, free: 31.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.9759, allocations: 4 kB / 1.31 GB, free: 31.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.9759, allocations: 0 / 1.31 GB, free: 31.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9759, allocations: 3 kB / 1.31 GB, free: 31.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.976, allocations: 110.5 kB / 1.31 GB, free: 31 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.976, allocations: 10.56 kB / 1.31 GB, free: 30.99 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.9761, allocations: 7.234 kB / 1.31 GB, free: 30.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.176e-05/0.9761, allocations: 2.844 kB / 1.31 GB, free: 30.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.9761, allocations: 6.031 kB / 1.31 GB, free: 30.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.9761, allocations: 2.625 kB / 1.31 GB, free: 30.99 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.464e-05/0.9761, allocations: 75.28 kB / 1.31 GB, free: 30.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9761, allocations: 0 / 1.31 GB, free: 30.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002069/0.9763, allocations: 33.44 kB / 1.31 GB, free: 30.91 MB / 1.061 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.0001743/0.9765, allocations: 129 kB / 1.31 GB, free: 30.81 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.9766, allocations: 38.3 kB / 1.31 GB, free: 30.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9766, allocations: 0 / 1.31 GB, free: 30.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.005e-05/0.9767, allocations: 24.95 kB / 1.31 GB, free: 30.79 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.9768, allocations: 10.31 kB / 1.31 GB, free: 30.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.9771, allocations: 144.4 kB / 1.31 GB, free: 30.65 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.9772, allocations: 0.6842 MB / 1.311 GB, free: 29.96 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.088e-05/0.9772, allocations: 6.844 kB / 1.311 GB, free: 29.95 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.9772, allocations: 10.25 kB / 1.311 GB, free: 29.95 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.9772, allocations: 0 / 1.311 GB, free: 29.95 MB / 1.061 GB Notification: Performance of Templates: time 0.003352/0.9806, allocations: 0.9179 MB / 1.312 GB, free: 29.84 MB / 1.061 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 -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: 9.096449865028262]