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.001158/0.001158, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001075/0.001075, allocations: 161 kB / 24.16 MB, free: 332 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 1.045/1.045, allocations: 177.1 MB / 204.6 MB, free: 5.168 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.979/1.979, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.433e-06/1.433e-06, allocations: 0 / 0.7601 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.335e-05, allocations: 6.188 kB / 0.7601 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001318/0.001342, allocations: 0.6729 MB / 0.7608 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.002712, allocations: 1.173 MB / 0.7619 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.002742, allocations: 1.531 kB / 0.7619 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.002756, allocations: 0.875 kB / 0.7619 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.002972, allocations: 24.94 kB / 0.7619 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 2.906e-06/0.002975, allocations: 0 / 0.7619 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.856e-05/0.003014, allocations: 2.234 kB / 0.7619 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.003052, allocations: 4 kB / 0.7619 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.841e-05/0.00308, allocations: 5.422 kB / 0.7619 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.447e-05/0.003104, allocations: 2.203 kB / 0.7619 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.647e-06/0.003113, allocations: 0 / 0.7619 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.00322, allocations: 16.84 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.003231, allocations: 0.875 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.042e-05/0.003241, allocations: 10.05 kB / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.94e-05/0.003311, allocations: 11.98 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.003313, allocations: 0.6875 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.21e-07/0.003314, allocations: 1.203 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.003317, allocations: 1.75 kB / 0.762 GB, free: 4.605 MB / 0.7136 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.0001882/0.003505, allocations: 220.7 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.00354, allocations: 8.031 kB / 0.7622 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.003565, allocations: 4.938 kB / 0.7622 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.973e-05/0.003625, allocations: 102.4 kB / 0.7623 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.003634, allocations: 384 / 0.7623 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.003653, allocations: 8.969 kB / 0.7623 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.572e-05/0.003718, allocations: 30.25 kB / 0.7623 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.003728, allocations: 0.9375 kB / 0.7623 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.003734, allocations: 5.031 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.003741, allocations: 8.625 kB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.161e-05/0.003763, allocations: 4 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.125e-05/0.003844, allocations: 61.78 kB / 0.7624 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.003974, allocations: 24.77 kB / 0.7624 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.57e-05/0.00399, allocations: 13 kB / 0.7625 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.573e-05/0.004075, allocations: 8.75 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.004093, allocations: 30.56 kB / 0.7625 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.004094, allocations: 0 / 0.7625 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.000936/0.00503, allocations: 273.1 kB / 0.7628 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.005061, allocations: 58.31 kB / 0.7628 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.95e-05/0.00509, allocations: 97.78 kB / 0.7629 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.005105, allocations: 25.7 kB / 0.7629 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2e-05/0.005125, allocations: 84.69 kB / 0.763 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.005159, allocations: 15.86 kB / 0.763 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.005197, allocations: 17.7 kB / 0.763 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.566e-05/0.005273, allocations: 318.8 kB / 0.7633 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.229e-05/0.005305, allocations: 5.312 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/0.005345, allocations: 29.48 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.875e-05/0.005424, allocations: 41.84 kB / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.005425, allocations: 0 / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.744e-05/0.005522, allocations: 48.78 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.005535, allocations: 8 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.00554, allocations: 0 / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.005552, allocations: 0 / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.005691, allocations: 36.17 kB / 0.7635 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.005696, allocations: 7.984 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.908e-05/0.005775, allocations: 20.12 kB / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.005784, allocations: 4 kB / 0.7635 GB, free: 2.895 MB / 0.7136 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.759e-05/0.005841, allocations: 117 kB / 0.7637 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.005853, allocations: 0 / 0.7637 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.00601, allocations: 75.45 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006012, allocations: 0.9375 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.006014, allocations: 0 / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.006017, allocations: 3.938 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.006236, allocations: 202.9 kB / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006238, allocations: 0 / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.006364, allocations: 39.72 kB / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.006366, allocations: 0 / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.006374, allocations: 0 / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.006376, allocations: 0 / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.006378, allocations: 7.938 kB / 0.764 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.006482, allocations: 135.1 kB / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-06/0.006488, allocations: 8.641 kB / 0.7641 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.006501, allocations: 4.719 kB / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.301e-05/0.006594, allocations: 18.34 kB / 0.7641 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.006608, allocations: 11.86 kB / 0.7641 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.006614, allocations: 4 kB / 0.7641 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.4e-06/0.00662, allocations: 6.297 kB / 0.7641 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/0.00662, allocations: 0.5469 kB / 0.7642 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001383/0.006758, allocations: 11.94 kB / 0.7642 GB, free: 2.23 MB / 0.7136 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.0001129/0.006871, allocations: 93.92 kB / 0.7643 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.752e-05/0.006969, allocations: 20.02 kB / 0.7643 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.006971, allocations: 0.6562 kB / 0.7643 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-05/0.00701, allocations: 27.84 kB / 0.7643 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.007117, allocations: 8 kB / 0.7643 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002618/0.007379, allocations: 128.3 kB / 0.7644 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.895e-05/0.007407, allocations: 51.38 kB / 0.7645 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.007518, allocations: 27.22 kB / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.007594, allocations: 60.67 kB / 0.7646 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/0.007595, allocations: 1.25 kB / 0.7646 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of Templates: time 0.002532/0.01013, allocations: 0.9278 MB / 0.7655 GB, free: 0.9023 MB / 0.7136 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 -s gbode -gbm=radauIIA3 -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: 5.138323225080967]