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.001072/0.001072, 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.001029/0.001029, 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.9634/0.9634, 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.853/1.853, allocations: 377.9 MB / 0.624 GB, free: 8.379 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.323e-06/1.323e-06, allocations: 0 / 0.8121 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.848e-05, allocations: 3.625 kB / 0.8121 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001169/0.001187, allocations: 0.6035 MB / 0.8127 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.002329, allocations: 1.166 MB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.002354, allocations: 0 / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.002369, allocations: 3.938 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.002569, allocations: 24.48 kB / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.825e-06/0.002572, allocations: 1.406 kB / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 3.164e-05/0.002603, allocations: 4 kB / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.002638, allocations: 3.984 kB / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.82e-05/0.002666, allocations: 3.938 kB / 0.8138 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.344e-05/0.002689, allocations: 5.156 kB / 0.8138 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.085e-06/0.002697, allocations: 0 / 0.8138 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.694e-05/0.002794, allocations: 15.98 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.002805, allocations: 4.672 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.368e-06/0.002814, allocations: 3.938 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 6.773e-05/0.002882, allocations: 12.89 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.002884, allocations: 0 / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.12e-07/0.002885, allocations: 0 / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.002888, allocations: 0.6562 kB / 0.8139 GB, free: 15.5 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.0002396/0.003127, allocations: 337.2 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.003161, allocations: 16.03 kB / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.126e-05/0.003183, allocations: 2.188 kB / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.088e-05/0.003234, allocations: 112.5 kB / 0.8143 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.003245, allocations: 8.375 kB / 0.8143 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.00326, allocations: 384 / 0.8143 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.419e-05/0.003324, allocations: 32.23 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.003334, allocations: 4.172 kB / 0.8144 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.003339, allocations: 384 / 0.8144 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.003344, allocations: 3.938 kB / 0.8144 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.201e-05/0.003366, allocations: 7.984 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.773e-05/0.003454, allocations: 98.27 kB / 0.8145 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.003578, allocations: 39.03 kB / 0.8145 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.003592, allocations: 17.2 kB / 0.8145 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.244e-05/0.003684, allocations: 16.02 kB / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.003704, allocations: 37.39 kB / 0.8146 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.003705, allocations: 0 / 0.8146 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0009228/0.004628, allocations: 266.1 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.00466, allocations: 59.34 kB / 0.8149 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.185e-05/0.004692, allocations: 142.2 kB / 0.815 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.004705, allocations: 25.7 kB / 0.815 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.00473, allocations: 127.8 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.004758, allocations: 11.89 kB / 0.8152 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.004797, allocations: 33.05 kB / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.004892, allocations: 496.1 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.23e-05/0.004924, allocations: 8.797 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.94e-05/0.004964, allocations: 33.28 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.178e-05/0.005035, allocations: 49.05 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.005036, allocations: 0 / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001038/0.00514, allocations: 59.67 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.005152, allocations: 9.031 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.005156, allocations: 0 / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.005165, allocations: 0 / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.005285, allocations: 34.23 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.00529, allocations: 7.938 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.016e-05/0.00537, allocations: 22.45 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.005378, allocations: 4 kB / 0.8159 GB, free: 13.26 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 5.945e-05/0.005437, allocations: 157.4 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.00545, allocations: 3.953 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.005611, allocations: 86.03 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.005613, allocations: 3.938 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.005615, allocations: 0 / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.005619, allocations: 7.938 kB / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.005858, allocations: 274.4 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.005861, allocations: 8.062 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.005967, allocations: 27.98 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.005969, allocations: 0 / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.005978, allocations: 4 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.00598, allocations: 7.875 kB / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.005981, allocations: 0 / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.006116, allocations: 207.9 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-06/0.006121, allocations: 4 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.006133, allocations: 0 / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.208e-05/0.006225, allocations: 27.92 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-06/0.006235, allocations: 432 / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.006241, allocations: 4 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.771e-05/0.006269, allocations: 119.2 kB / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006269, allocations: 0 / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000155/0.006424, allocations: 15.94 kB / 0.8168 GB, free: 12.26 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.0001003/0.006524, allocations: 113.7 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.006625, allocations: 27.61 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.006626, allocations: 192 / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.006664, allocations: 27.62 kB / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.006796, allocations: 7.984 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.007042, allocations: 134.3 kB / 0.8171 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.676e-05/0.007068, allocations: 55.34 kB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.458e-05/0.007163, allocations: 31.98 kB / 0.8172 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.768e-05/0.007231, allocations: 70.2 kB / 0.8173 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of SimCode: time 6.62e-07/0.007231, allocations: 4 kB / 0.8173 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.002024/0.009255, allocations: 0.9183 MB / 0.8182 GB, free: 10.82 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.903832409996539]