Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00171/0.00171, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002028/0.002028, allocations: 189.6 kB / 22.17 MB, free: 5.656 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.471/1.471, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 79.81 kB / 1.109 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9333/0.9353, allocations: 168.7 MB / 1.274 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001925/0.9372, allocations: 0.6054 MB / 1.275 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004522/0.9377, allocations: 159.4 kB / 1.275 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.9377, allocations: 4 kB / 1.275 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.9377, allocations: 0 / 1.275 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.194e-05/0.9377, allocations: 7.938 kB / 1.275 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.9381, allocations: 35.91 kB / 1.275 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.997e-05/0.9381, allocations: 19.97 kB / 1.275 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.9382, allocations: 8 kB / 1.275 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.666e-05/0.9382, allocations: 0 / 1.275 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.75e-05/0.9383, allocations: 15.92 kB / 1.275 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.9383, allocations: 3.938 kB / 1.275 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.49e-05/0.9384, allocations: 35.95 kB / 1.275 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.9384, allocations: 4 kB / 1.275 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.9384, allocations: 11.92 kB / 1.275 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.9385, allocations: 30.62 kB / 1.275 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9385, allocations: 4 kB / 1.275 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9385, allocations: 0 / 1.275 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.9386, allocations: 0 / 1.275 GB, free: 3.426 MB / 0.9669 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.0004607/0.939, allocations: 335.3 kB / 1.275 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.9391, allocations: 12.03 kB / 1.275 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.9391, allocations: 0.9375 kB / 1.275 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.9393, allocations: 168.3 kB / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.9393, allocations: 4.375 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.9393, allocations: 4.375 kB / 1.276 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.9394, allocations: 46.25 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.9394, allocations: 192 / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.9395, allocations: 3.938 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.9395, allocations: 0 / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.454e-05/0.9395, allocations: 11.98 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/0.9397, allocations: 165.7 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.9398, allocations: 50.5 kB / 1.276 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.9399, allocations: 16.98 kB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.94, allocations: 81.09 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.94, allocations: 34.56 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.94, allocations: 0 / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0014/0.9414, allocations: 0.4884 MB / 1.276 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.9415, allocations: 55.34 kB / 1.276 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.9415, allocations: 93.86 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.9416, allocations: 29.7 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.9416, allocations: 88.12 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.9416, allocations: 15.8 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.9417, allocations: 25.7 kB / 1.277 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.9418, allocations: 314.8 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.984e-05/0.9419, allocations: 12 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.9419, allocations: 12.11 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.255e-05/0.942, allocations: 36.86 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.942, allocations: 0 / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001217/0.9421, allocations: 77.58 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.9421, allocations: 9.5 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.9421, allocations: 0 / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.9421, allocations: 0 / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.9422, allocations: 15.98 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.9422, allocations: 3.938 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.9422, allocations: 0 / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.9423, allocations: 8 kB / 1.277 GB, free: 0.9297 MB / 0.9669 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 9.331e-05/0.9423, allocations: 111.4 kB / 1.277 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.9424, allocations: 11.88 kB / 1.277 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.9425, allocations: 89.55 kB / 1.277 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.9426, allocations: 4.25 kB / 1.277 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.9426, allocations: 0 / 1.277 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.9426, allocations: 4 kB / 1.277 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.9427, allocations: 157.7 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9427, allocations: 0 / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.76e-05/0.9428, allocations: 23.98 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.9428, allocations: 3.938 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.9428, allocations: 0 / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9428, allocations: 0 / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.9428, allocations: 0 / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.943, allocations: 121 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.9431, allocations: 81.05 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.9431, allocations: 4 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.083e-05/0.9432, allocations: 8.094 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.9432, allocations: 3.984 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.9432, allocations: 4 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.179e-05/0.9432, allocations: 75.28 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.9432, allocations: 0 / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002364/0.9435, allocations: 31.94 kB / 1.278 GB, free: 112 kB / 0.9669 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.0003007/0.9438, allocations: 127.7 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.9439, allocations: 48.47 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9439, allocations: 0 / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.739e-05/0.944, allocations: 20.14 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.9441, allocations: 8 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.9446, allocations: 157.5 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.9449, allocations: 0.6807 MB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.696e-05/0.9449, allocations: 15.92 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.9449, allocations: 15.38 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.9449, allocations: 0 / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.003865/0.9488, allocations: 0.9031 MB / 1.28 GB, free: 14.09 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.799213418271393]