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.0009349/0.0009349, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001451/0.001451, allocations: 165 kB / 23.82 MB, free: 0.7461 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 0.9889/0.9889, allocations: 177.2 MB / 204.2 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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 1.892/1.892, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] 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.152e-06/1.152e-06, allocations: 0 / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.625e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0009922/0.001008, allocations: 0.6207 MB / 0.8122 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003251/0.001334, allocations: 151.4 kB / 0.8124 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.001358, allocations: 1.156 kB / 0.8124 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.001378, allocations: 0 / 0.8124 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 1.993e-05/0.001398, allocations: 3.938 kB / 0.8124 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.00168, allocations: 40.45 kB / 0.8124 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.9e-05/0.001729, allocations: 15.97 kB / 0.8124 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.001764, allocations: 5.406 kB / 0.8124 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.574e-05/0.00179, allocations: 8 kB / 0.8124 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.001853, allocations: 7.984 kB / 0.8124 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.001869, allocations: 4.969 kB / 0.8124 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.514e-05/0.001934, allocations: 27.97 kB / 0.8125 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.001951, allocations: 7.984 kB / 0.8125 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.001968, allocations: 8.672 kB / 0.8125 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.207e-05/0.00206, allocations: 39.81 kB / 0.8125 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002062, allocations: 0.9062 kB / 0.8125 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.4e-07/0.002062, allocations: 0 / 0.8125 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.002066, allocations: 4.656 kB / 0.8125 GB, free: 0.7305 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.0002972/0.002363, allocations: 352.3 kB / 0.8129 GB, free: 356 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.002403, allocations: 13.28 kB / 0.8129 GB, free: 344 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.002439, allocations: 4.875 kB / 0.8129 GB, free: 340 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.479e-05/0.002514, allocations: 109 kB / 0.813 GB, free: 204 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.002526, allocations: 5.312 kB / 0.813 GB, free: 200 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.002555, allocations: 8.328 kB / 0.813 GB, free: 192 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.662e-05/0.002651, allocations: 68.73 kB / 0.8131 GB, free: 112 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.002658, allocations: 192 / 0.8131 GB, free: 112 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.002667, allocations: 5.188 kB / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.002675, allocations: 384 / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.004e-05/0.002705, allocations: 15.92 kB / 0.8131 GB, free: 92 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.002836, allocations: 118 kB / 0.8132 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.822e-05/0.002914, allocations: 51.05 kB / 0.8132 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/0.002939, allocations: 21.62 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.239e-05/0.003001, allocations: 7.984 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.003023, allocations: 37.39 kB / 0.8133 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.684e-06/0.003025, allocations: 3.984 kB / 0.8133 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0008263/0.003851, allocations: 411.8 kB / 0.8137 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.003876, allocations: 55.34 kB / 0.8138 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.51e-05/0.003931, allocations: 149.9 kB / 0.8139 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.659e-06/0.00394, allocations: 29.7 kB / 0.8139 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.00397, allocations: 132.2 kB / 0.8141 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.003997, allocations: 27.78 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.004026, allocations: 23.38 kB / 0.8141 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.004125, allocations: 0.489 MB / 0.8146 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.004142, allocations: 8 kB / 0.8146 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.587e-05/0.004158, allocations: 12.73 kB / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.4e-05/0.004202, allocations: 31.91 kB / 0.8146 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.004203, allocations: 5.844 kB / 0.8146 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.187e-05/0.004275, allocations: 69.58 kB / 0.8147 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.004286, allocations: 4 kB / 0.8147 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.004289, allocations: 0 / 0.8147 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.004304, allocations: 4 kB / 0.8147 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.004362, allocations: 13.05 kB / 0.8147 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.004367, allocations: 4.625 kB / 0.8147 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.141e-05/0.004378, allocations: 4 kB / 0.8147 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.004383, allocations: 1.219 kB / 0.8147 GB, free: 14.22 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 5.946e-05/0.004443, allocations: 160.6 kB / 0.8149 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.004452, allocations: 8 kB / 0.8149 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.004562, allocations: 83.31 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.004563, allocations: 0 / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.004567, allocations: 3.938 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.004571, allocations: 7.922 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.908e-05/0.00464, allocations: 117.7 kB / 0.8151 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.004641, allocations: 0 / 0.8151 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.00469, allocations: 19.98 kB / 0.8151 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.004692, allocations: 0.8125 kB / 0.8151 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.004699, allocations: 0 / 0.8151 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.004699, allocations: 0.9375 kB / 0.8151 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.004701, allocations: 4 kB / 0.8151 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.004823, allocations: 129.6 kB / 0.8152 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-06/0.004827, allocations: 0 / 0.8152 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.004836, allocations: 0 / 0.8152 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.047e-05/0.004857, allocations: 4 kB / 0.8153 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.004872, allocations: 4.859 kB / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.004878, allocations: 11.94 kB / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.533e-05/0.004903, allocations: 121.2 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004903, allocations: 0 / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001596/0.005063, allocations: 27.94 kB / 0.8154 GB, free: 13.47 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.0001439/0.005207, allocations: 131.8 kB / 0.8155 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.891e-05/0.005296, allocations: 51.58 kB / 0.8156 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.005297, allocations: 3.438 kB / 0.8156 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.136e-05/0.005318, allocations: 23.62 kB / 0.8156 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.005425, allocations: 11.98 kB / 0.8156 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.005651, allocations: 134.8 kB / 0.8158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.932e-05/0.00568, allocations: 63.28 kB / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.562e-05/0.005706, allocations: 8.516 kB / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.005729, allocations: 13.06 kB / 0.8158 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of SimCode: time 6.52e-07/0.005729, allocations: 0 / 0.8158 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of Templates: time 0.002346/0.008075, allocations: 0.895 MB / 0.8167 GB, free: 12.11 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.077036588918418]