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.001987/0.001987, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.002697/0.002697, allocations: 165.7 kB / 23.55 MB, free: 0.8906 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.451/1.451, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.856/2.856, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.259e-05, allocations: 8.781 kB / 0.8109 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002351/0.002383, allocations: 0.6086 MB / 0.8115 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005265/0.00291, allocations: 147.5 kB / 0.8116 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.002939, allocations: 4 kB / 0.8116 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.318e-05/0.002952, allocations: 0 / 0.8116 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.296e-05/0.002985, allocations: 5.281 kB / 0.8116 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.003376, allocations: 35.83 kB / 0.8116 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.018e-05/0.003436, allocations: 15.94 kB / 0.8117 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.003473, allocations: 1.594 kB / 0.8117 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.281e-05/0.003516, allocations: 11.97 kB / 0.8117 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.003591, allocations: 11.98 kB / 0.8117 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.003607, allocations: 0 / 0.8117 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.003714, allocations: 27.97 kB / 0.8117 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.003735, allocations: 4.719 kB / 0.8117 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.003767, allocations: 11.92 kB / 0.8117 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.00391, allocations: 36.41 kB / 0.8118 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.003917, allocations: 5.344 kB / 0.8118 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003918, allocations: 0 / 0.8118 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.003931, allocations: 0 / 0.8118 GB, free: 1.117 MB / 0.7605 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.0004908/0.004422, allocations: 254.9 kB / 0.812 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.004467, allocations: 8.031 kB / 0.812 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.004521, allocations: 10.25 kB / 0.812 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.004674, allocations: 105.7 kB / 0.8121 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.004692, allocations: 4.375 kB / 0.8121 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.004725, allocations: 5.531 kB / 0.8121 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.004901, allocations: 67.95 kB / 0.8122 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.004911, allocations: 192 / 0.8122 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.004926, allocations: 1.688 kB / 0.8122 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.004932, allocations: 4.375 kB / 0.8122 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.878e-05/0.005, allocations: 19.92 kB / 0.8122 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.005213, allocations: 105.3 kB / 0.8123 GB, free: 460 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.00535, allocations: 43.84 kB / 0.8124 GB, free: 408 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.005408, allocations: 24.97 kB / 0.8124 GB, free: 380 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.049e-05/0.005488, allocations: 4.656 kB / 0.8124 GB, free: 376 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.005535, allocations: 30.56 kB / 0.8124 GB, free: 336 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=5): time 7.023e-06/0.005542, allocations: 5.766 kB / 0.8124 GB, free: 332 kB / 0.7605 GB Notification: Performance of matching and sorting (n=7): time 0.001799/0.007341, allocations: 418.3 kB / 0.8128 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.007399, allocations: 59.81 kB / 0.8129 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.007507, allocations: 95.8 kB / 0.813 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.007533, allocations: 25.7 kB / 0.813 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.007602, allocations: 84.14 kB / 0.8131 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.007642, allocations: 15.86 kB / 0.8131 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.007704, allocations: 25.7 kB / 0.8131 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002336/0.007938, allocations: 316.7 kB / 0.8134 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.007983, allocations: 11.98 kB / 0.8134 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.032e-05/0.008023, allocations: 15.98 kB / 0.8135 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.008138, allocations: 41.06 kB / 0.8135 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.00814, allocations: 0 / 0.8135 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001828/0.008322, allocations: 74.3 kB / 0.8136 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.008339, allocations: 8.531 kB / 0.8136 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.008345, allocations: 0 / 0.8136 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.008363, allocations: 0.9062 kB / 0.8136 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.008475, allocations: 12 kB / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.008486, allocations: 4.719 kB / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.793e-05/0.008524, allocations: 4 kB / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.008539, allocations: 9.266 kB / 0.8136 GB, free: 15.03 MB / 0.7761 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.0001327/0.008671, allocations: 109.8 kB / 0.8137 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.008708, allocations: 11.94 kB / 0.8137 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.00894, allocations: 78.48 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.008943, allocations: 1.25 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.008952, allocations: 3.938 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.008956, allocations: 0 / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.009136, allocations: 117.3 kB / 0.8139 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.009138, allocations: 1.281 kB / 0.8139 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.009249, allocations: 12 kB / 0.8139 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.009252, allocations: 0 / 0.8139 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.009261, allocations: 0.9688 kB / 0.8139 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.009267, allocations: 4 kB / 0.8139 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.009268, allocations: 0 / 0.8139 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.00957, allocations: 126 kB / 0.8141 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.009582, allocations: 3.984 kB / 0.8141 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.009599, allocations: 0 / 0.8141 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.009668, allocations: 5.219 kB / 0.8141 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.009692, allocations: 7.938 kB / 0.8141 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.009712, allocations: 15.92 kB / 0.8141 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.009772, allocations: 76.38 kB / 0.8142 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.009772, allocations: 0 / 0.8142 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004172/0.01019, allocations: 28.94 kB / 0.8142 GB, free: 14.38 MB / 0.7761 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.0003249/0.01051, allocations: 139.6 kB / 0.8143 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.01067, allocations: 33.45 kB / 0.8143 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.01067, allocations: 4 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.343e-05/0.01073, allocations: 23.92 kB / 0.8144 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.01097, allocations: 7.766 kB / 0.8144 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.01141, allocations: 137.1 kB / 0.8145 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.01152, allocations: 72.61 kB / 0.8146 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.62e-05/0.01156, allocations: 5.391 kB / 0.8146 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.0116, allocations: 13.16 kB / 0.8146 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.0116, allocations: 0 / 0.8146 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of Templates: time 0.005/0.0166, allocations: 0.8875 MB / 0.8155 GB, free: 13.05 MB / 0.7761 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: 7.624520210083574]