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.001271/0.001271, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.001046/0.001046, allocations: 170.4 kB / 24.87 MB, free: 8.875 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.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.929/1.929, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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.623e-06/1.623e-06, allocations: 1.094 kB / 0.8128 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.34e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001355/0.001378, allocations: 0.6262 MB / 0.8135 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002933/0.001672, allocations: 147.5 kB / 0.8136 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.001697, allocations: 0.6562 kB / 0.8136 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.001713, allocations: 3.938 kB / 0.8136 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.186e-05/0.001735, allocations: 4.625 kB / 0.8136 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.001999, allocations: 40.83 kB / 0.8136 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.635e-05/0.002045, allocations: 11.98 kB / 0.8136 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.002083, allocations: 0 / 0.8136 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.029e-05/0.002113, allocations: 17.3 kB / 0.8137 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.313e-05/0.002186, allocations: 7.984 kB / 0.8137 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.002199, allocations: 0 / 0.8137 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.886e-05/0.002268, allocations: 27.97 kB / 0.8137 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.002284, allocations: 9.156 kB / 0.8137 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.339e-05/0.002298, allocations: 7.969 kB / 0.8137 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.812e-05/0.002386, allocations: 43.81 kB / 0.8138 GB, free: 460 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.002388, allocations: 1.062 kB / 0.8138 GB, free: 460 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.61e-07/0.002389, allocations: 0 / 0.8138 GB, free: 460 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.002393, allocations: 0 / 0.8138 GB, free: 460 kB / 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.0002919/0.002685, allocations: 361.2 kB / 0.8141 GB, free: 60 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.002716, allocations: 8.031 kB / 0.8141 GB, free: 52 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.002745, allocations: 5.875 kB / 0.8141 GB, free: 48 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.28e-05/0.002838, allocations: 105 kB / 0.8142 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.002849, allocations: 5.719 kB / 0.8142 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.002868, allocations: 4.328 kB / 0.8142 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.765e-05/0.002945, allocations: 67.95 kB / 0.8143 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.002952, allocations: 192 / 0.8143 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-06/0.002958, allocations: 0.875 kB / 0.8143 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.002962, allocations: 2.312 kB / 0.8143 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.002987, allocations: 19.86 kB / 0.8143 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.003088, allocations: 101.2 kB / 0.8144 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.4e-05/0.003162, allocations: 51.09 kB / 0.8145 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.003178, allocations: 11.69 kB / 0.8145 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.123e-05/0.00323, allocations: 5.688 kB / 0.8145 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.003252, allocations: 45.5 kB / 0.8145 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.003253, allocations: 0 / 0.8145 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0007558/0.004009, allocations: 402.8 kB / 0.8149 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.004039, allocations: 60.25 kB / 0.815 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.501e-05/0.004104, allocations: 153.9 kB / 0.8151 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.004115, allocations: 26.55 kB / 0.8151 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.004146, allocations: 126.9 kB / 0.8153 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.004175, allocations: 33.05 kB / 0.8153 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.004213, allocations: 23.38 kB / 0.8153 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.004323, allocations: 0.4884 MB / 0.8158 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.004335, allocations: 4 kB / 0.8158 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/0.004348, allocations: 8.844 kB / 0.8158 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/0.004387, allocations: 31.84 kB / 0.8158 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.004387, allocations: 1.156 kB / 0.8158 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.316e-05/0.004461, allocations: 73.61 kB / 0.8159 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.004473, allocations: 6.5 kB / 0.8159 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.004477, allocations: 1.375 kB / 0.8159 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.004487, allocations: 4 kB / 0.8159 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/0.004542, allocations: 15.92 kB / 0.8159 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.004546, allocations: 5.5 kB / 0.8159 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.004558, allocations: 3.938 kB / 0.8159 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.004563, allocations: 0 / 0.8159 GB, free: 13.98 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 6.31e-05/0.004626, allocations: 164.5 kB / 0.8161 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-06/0.004634, allocations: 6.828 kB / 0.8161 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.004735, allocations: 69.64 kB / 0.8162 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.004739, allocations: 4 kB / 0.8162 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.00474, allocations: 0 / 0.8162 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.004744, allocations: 3.938 kB / 0.8162 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.025e-05/0.004814, allocations: 105.2 kB / 0.8163 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.004815, allocations: 0 / 0.8163 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.004858, allocations: 16.5 kB / 0.8163 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.00486, allocations: 1.062 kB / 0.8163 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.004866, allocations: 7.938 kB / 0.8163 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.004868, allocations: 4.172 kB / 0.8163 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.004871, allocations: 4.5 kB / 0.8163 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.004983, allocations: 117.6 kB / 0.8164 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.00499, allocations: 4 kB / 0.8164 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-06/0.004998, allocations: 0 / 0.8164 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.848e-05/0.005016, allocations: 0.875 kB / 0.8164 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.00503, allocations: 7.984 kB / 0.8164 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.005035, allocations: 4 kB / 0.8164 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.103e-05/0.005066, allocations: 124.5 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.005066, allocations: 0 / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001526/0.005219, allocations: 28.84 kB / 0.8166 GB, free: 13.27 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.0001487/0.005367, allocations: 135.7 kB / 0.8167 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.255e-05/0.00544, allocations: 39.59 kB / 0.8167 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.005441, allocations: 0.6562 kB / 0.8167 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.965e-05/0.005461, allocations: 27.61 kB / 0.8168 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.005566, allocations: 10.78 kB / 0.8168 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.005792, allocations: 134.2 kB / 0.8169 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.028e-05/0.005822, allocations: 59.34 kB / 0.817 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.005852, allocations: 11.2 kB / 0.817 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.0059, allocations: 74.2 kB / 0.817 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.005901, allocations: 0 / 0.817 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of Templates: time 0.002795/0.008696, allocations: 1.013 MB / 0.818 GB, free: 11.73 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.193756892811507]