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.0009607/0.0009607, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001052/0.001052, allocations: 177 kB / 24.08 MB, free: 416 kB / 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.9657/0.9657, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.85/1.85, allocations: 377.9 MB / 0.624 GB, free: 8.402 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.483e-06/1.483e-06, allocations: 3.938 kB / 0.8121 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.167e-05, allocations: 7.562 kB / 0.8121 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001133/0.001154, allocations: 0.6226 MB / 0.8127 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003138/0.001468, allocations: 152.3 kB / 0.8128 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.001497, allocations: 0 / 0.8128 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.001513, allocations: 0 / 0.8128 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.21e-05/0.001535, allocations: 4.781 kB / 0.8128 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.001827, allocations: 42.2 kB / 0.8129 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.625e-05/0.001873, allocations: 19.92 kB / 0.8129 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.001908, allocations: 0 / 0.8129 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.405e-05/0.001942, allocations: 4 kB / 0.8129 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.194e-05/0.002014, allocations: 15.97 kB / 0.8129 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.002029, allocations: 0 / 0.8129 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.2e-05/0.002101, allocations: 27.97 kB / 0.8129 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.002115, allocations: 1.094 kB / 0.8129 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.392e-05/0.002129, allocations: 11.94 kB / 0.8129 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.75e-05/0.002216, allocations: 39.86 kB / 0.813 GB, free: 484 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.002218, allocations: 0.8438 kB / 0.813 GB, free: 484 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002219, allocations: 0 / 0.813 GB, free: 484 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.002222, allocations: 1.344 kB / 0.813 GB, free: 484 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.0002809/0.002503, allocations: 360.3 kB / 0.8133 GB, free: 84 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.002538, allocations: 8.031 kB / 0.8133 GB, free: 76 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.002562, allocations: 10.53 kB / 0.8133 GB, free: 68 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.06e-05/0.002643, allocations: 108.9 kB / 0.8134 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.002652, allocations: 384 / 0.8134 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.00267, allocations: 8.328 kB / 0.8135 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.007e-05/0.00275, allocations: 69.64 kB / 0.8135 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.002756, allocations: 192 / 0.8135 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-06/0.002762, allocations: 384 / 0.8135 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.002767, allocations: 384 / 0.8135 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.131e-05/0.002788, allocations: 15.92 kB / 0.8135 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.002889, allocations: 102.2 kB / 0.8136 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.625e-05/0.002956, allocations: 51.03 kB / 0.8137 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.002972, allocations: 20.2 kB / 0.8137 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.549e-05/0.003027, allocations: 4.688 kB / 0.8137 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.00305, allocations: 41.91 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 6.21e-07/0.003051, allocations: 1.312 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0007172/0.003768, allocations: 406.8 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.003792, allocations: 55.41 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.426e-05/0.003846, allocations: 158.7 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.003856, allocations: 29.7 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/0.003885, allocations: 127.7 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.00391, allocations: 23.78 kB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.003944, allocations: 32.64 kB / 0.8145 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.004041, allocations: 492.1 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.004054, allocations: 7.984 kB / 0.815 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.067e-05/0.004065, allocations: 8 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.821e-05/0.004103, allocations: 32.73 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.004104, allocations: 0 / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.052e-05/0.004174, allocations: 70.78 kB / 0.8151 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.004187, allocations: 4 kB / 0.8151 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.004191, allocations: 0 / 0.8151 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.004202, allocations: 5.312 kB / 0.8151 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.004254, allocations: 15.98 kB / 0.8152 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.004258, allocations: 4 kB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.00427, allocations: 3.938 kB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.004275, allocations: 1.594 kB / 0.8152 GB, free: 14 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.148e-05/0.004336, allocations: 164.6 kB / 0.8153 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.004345, allocations: 4 kB / 0.8153 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.00445, allocations: 72.33 kB / 0.8154 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.004453, allocations: 4 kB / 0.8154 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.004454, allocations: 0 / 0.8154 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.004458, allocations: 3.938 kB / 0.8154 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.836e-05/0.004536, allocations: 101.2 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.004537, allocations: 0 / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.004581, allocations: 12 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.004583, allocations: 0.6875 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.004591, allocations: 12.53 kB / 0.8155 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.004593, allocations: 5.922 kB / 0.8155 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.004594, allocations: 0 / 0.8155 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.004709, allocations: 116.2 kB / 0.8156 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.004714, allocations: 4 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.004724, allocations: 4 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.004743, allocations: 0.9062 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.004759, allocations: 7.984 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.004763, allocations: 3.938 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.034e-05/0.004793, allocations: 123.8 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.004793, allocations: 0.6562 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001415/0.004934, allocations: 31.94 kB / 0.8158 GB, free: 13.29 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.0001356/0.00507, allocations: 134 kB / 0.8159 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.257e-05/0.005143, allocations: 47.53 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.005144, allocations: 0 / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.916e-05/0.005164, allocations: 23.67 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.557e-05/0.005259, allocations: 8 kB / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.00546, allocations: 136.8 kB / 0.8161 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.734e-05/0.005487, allocations: 59.34 kB / 0.8162 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.005513, allocations: 4.547 kB / 0.8162 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.005558, allocations: 78.2 kB / 0.8163 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of SimCode: time 3.61e-07/0.005559, allocations: 0.9375 kB / 0.8163 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of Templates: time 0.00231/0.007868, allocations: 1.005 MB / 0.8173 GB, free: 11.76 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.962276751641184]