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.0009271/0.0009271, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0008943/0.0008943, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9596/0.9596, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.891/1.891, allocations: 377.9 MB / 0.6236 GB, free: 8.559 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.493e-06/1.493e-06, allocations: 0 / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.651e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001022/0.001039, allocations: 0.6232 MB / 0.8122 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003114/0.00135, allocations: 155.4 kB / 0.8124 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/0.001375, allocations: 0 / 0.8124 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.001394, allocations: 0 / 0.8124 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 1.909e-05/0.001413, allocations: 0 / 0.8124 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.001691, allocations: 45.3 kB / 0.8124 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.959e-05/0.00174, allocations: 15.97 kB / 0.8124 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.136e-05/0.001771, allocations: 4 kB / 0.8124 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.998e-05/0.001801, allocations: 13.48 kB / 0.8124 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.735e-05/0.001859, allocations: 3.938 kB / 0.8124 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.001874, allocations: 4 kB / 0.8124 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.659e-05/0.001941, allocations: 31.97 kB / 0.8125 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.001958, allocations: 4.859 kB / 0.8125 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.708e-05/0.001975, allocations: 3.984 kB / 0.8125 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.326e-05/0.002068, allocations: 39.88 kB / 0.8125 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002071, allocations: 0.875 kB / 0.8125 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.61e-07/0.002071, allocations: 0 / 0.8125 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.002075, allocations: 0.625 kB / 0.8125 GB, free: 0.7422 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.0003187/0.002393, allocations: 357 kB / 0.8129 GB, free: 364 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.002427, allocations: 8.031 kB / 0.8129 GB, free: 356 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.002464, allocations: 5.562 kB / 0.8129 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.753e-05/0.002542, allocations: 113 kB / 0.813 GB, free: 212 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.002552, allocations: 0.9375 kB / 0.813 GB, free: 212 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.002574, allocations: 9.047 kB / 0.813 GB, free: 204 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.57e-05/0.00267, allocations: 71.88 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.002677, allocations: 5.5 kB / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.002686, allocations: 384 / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.002693, allocations: 4.375 kB / 0.8131 GB, free: 112 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.963e-05/0.002723, allocations: 11.92 kB / 0.8131 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.002854, allocations: 122.5 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.003044, allocations: 50.98 kB / 0.8132 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.452e-05/0.003068, allocations: 11.69 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.921e-05/0.003137, allocations: 9.078 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.00316, allocations: 41.52 kB / 0.8133 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.003162, allocations: 0 / 0.8133 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0008331/0.003995, allocations: 407.9 kB / 0.8137 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.004021, allocations: 59.34 kB / 0.8137 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.719e-05/0.004079, allocations: 153.9 kB / 0.8139 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.00409, allocations: 34.22 kB / 0.8139 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.00412, allocations: 135.6 kB / 0.8141 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.004149, allocations: 19.8 kB / 0.8141 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.004178, allocations: 27.91 kB / 0.8141 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.004273, allocations: 497.7 kB / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.004294, allocations: 8 kB / 0.8146 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.00431, allocations: 11.98 kB / 0.8146 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.591e-05/0.004355, allocations: 27.69 kB / 0.8146 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.004356, allocations: 0 / 0.8146 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.438e-05/0.004431, allocations: 70.45 kB / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.004443, allocations: 4 kB / 0.8147 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.004447, allocations: 0.9375 kB / 0.8147 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.004459, allocations: 3.938 kB / 0.8147 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.625e-05/0.004525, allocations: 17.2 kB / 0.8147 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.00453, allocations: 3.938 kB / 0.8147 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.377e-05/0.004544, allocations: 8 kB / 0.8147 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.004549, allocations: 0.9688 kB / 0.8147 GB, free: 14.23 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.441e-05/0.004604, allocations: 156.6 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.004612, allocations: 6.219 kB / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.004729, allocations: 89.55 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.004734, allocations: 3.984 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.004738, allocations: 7.875 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.004741, allocations: 0 / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.918e-05/0.00481, allocations: 119.9 kB / 0.8151 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.004812, allocations: 0 / 0.8151 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.326e-05/0.004865, allocations: 15.98 kB / 0.8151 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.004867, allocations: 0 / 0.8151 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.004875, allocations: 0 / 0.8151 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.004876, allocations: 192 / 0.8151 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.004878, allocations: 4 kB / 0.8151 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.005003, allocations: 128.2 kB / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.005009, allocations: 4 kB / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.00502, allocations: 1.125 kB / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.005042, allocations: 4 kB / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.00506, allocations: 7.984 kB / 0.8152 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.005071, allocations: 8.469 kB / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.026e-05/0.005101, allocations: 120.2 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005101, allocations: 0 / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001541/0.005255, allocations: 36.52 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.0001415/0.005397, allocations: 128.8 kB / 0.8155 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.526e-05/0.005492, allocations: 48.06 kB / 0.8156 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.005494, allocations: 0 / 0.8156 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.407e-05/0.005518, allocations: 31.81 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.0001051/0.005623, allocations: 5.188 kB / 0.8156 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.005852, allocations: 134.2 kB / 0.8157 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.22e-05/0.005884, allocations: 60.39 kB / 0.8158 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.662e-05/0.005911, allocations: 8.656 kB / 0.8158 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.005931, allocations: 13.39 kB / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of SimCode: time 3.71e-07/0.005932, allocations: 4 kB / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of Templates: time 0.002671/0.008603, allocations: 0.9697 MB / 0.8168 GB, free: 12.04 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: 4.904354946222156]