Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.00134/0.00134, 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.0009856/0.0009856, allocations: 161 kB / 23.81 MB, free: 0.7578 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.016/1.016, allocations: 177.1 MB / 204.2 MB, free: 5.172 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.826/1.826, 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.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.843e-05, allocations: 7.016 kB / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001003/0.001021, allocations: 0.6036 MB / 0.8122 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.002081, allocations: 1.164 MB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.00211, allocations: 0.6875 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.00213, allocations: 0 / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.002365, allocations: 24.75 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.795e-06/0.002368, allocations: 0 / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 3.932e-05/0.002407, allocations: 8.531 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.455e-05/0.002442, allocations: 0 / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.323e-05/0.002465, allocations: 8.625 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.022e-05/0.002485, allocations: 1.25 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.002494, allocations: 0 / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-05/0.002592, allocations: 15.97 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.002602, allocations: 3.938 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.159e-05/0.002614, allocations: 2.188 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.531e-05/0.002689, allocations: 19.92 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002691, allocations: 0 / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.91e-07/0.002691, allocations: 0 / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.002695, allocations: 0 / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002318/0.002927, allocations: 344.4 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.002961, allocations: 8.812 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.002996, allocations: 4.938 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.92e-05/0.003055, allocations: 114.1 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.003065, allocations: 384 / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.003087, allocations: 4.359 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.222e-05/0.003169, allocations: 34.25 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.003179, allocations: 1.25 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.003188, allocations: 4.375 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.003196, allocations: 3.938 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.003221, allocations: 4.656 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.003329, allocations: 113.2 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.003482, allocations: 47.5 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.57e-05/0.003498, allocations: 7.781 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.102e-05/0.003589, allocations: 12.52 kB / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.003609, allocations: 34.2 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.00361, allocations: 0 / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.001081/0.004691, allocations: 281 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.004722, allocations: 52.31 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.594e-05/0.004758, allocations: 146.2 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.004772, allocations: 25.7 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.0048, allocations: 127.7 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.004834, allocations: 15.91 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.004873, allocations: 24.72 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.004985, allocations: 0.4884 MB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-05/0.005024, allocations: 2.562 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-05/0.005075, allocations: 42.31 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.3e-05/0.005158, allocations: 45.02 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.005159, allocations: 0 / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001233/0.005283, allocations: 61.12 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.005294, allocations: 4.5 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.005299, allocations: 0.875 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.005312, allocations: 4 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.00544, allocations: 37.95 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.005445, allocations: 0 / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.487e-05/0.00553, allocations: 22.48 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.00554, allocations: 4 kB / 0.8155 GB, free: 13.56 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.067e-05/0.0056, allocations: 160 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.005615, allocations: 11.94 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.005777, allocations: 75.77 kB / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.005779, allocations: 4 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.005784, allocations: 3.938 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005786, allocations: 0 / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.006054, allocations: 305.4 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.006056, allocations: 0 / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.006171, allocations: 36.39 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.006174, allocations: 3.938 kB / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.006185, allocations: 4 kB / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.006186, allocations: 4.25 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.006189, allocations: 3.938 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.006321, allocations: 203.9 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-06/0.006327, allocations: 7.984 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.006344, allocations: 3.938 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.00644, allocations: 23.98 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.006454, allocations: 7.984 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.006462, allocations: 4 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.459e-05/0.006486, allocations: 119.2 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.006486, allocations: 0 / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001525/0.006639, allocations: 11.94 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0001899/0.006829, allocations: 99.25 kB / 0.8165 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.006963, allocations: 39.61 kB / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.006964, allocations: 0 / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.007005, allocations: 27.86 kB / 0.8166 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.00715, allocations: 4 kB / 0.8166 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.007446, allocations: 134.3 kB / 0.8167 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.135e-05/0.007477, allocations: 55.36 kB / 0.8167 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.499e-05/0.007572, allocations: 31.98 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.007619, allocations: 16.48 kB / 0.8168 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of SimCode: time 3.8e-07/0.007619, allocations: 0 / 0.8168 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of Templates: time 0.002164/0.009783, allocations: 0.8868 MB / 0.8177 GB, free: 11.17 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.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.950934933964163]