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.001188/0.001188, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001388/0.001388, allocations: 161 kB / 24.17 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 0.9857/0.9857, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.846/1.846, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] 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.643e-06/1.643e-06, allocations: 0 / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.326e-05, allocations: 6.547 kB / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001989/0.002023, allocations: 0.6241 MB / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.003697, allocations: 1.173 MB / 0.7618 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.003727, allocations: 0 / 0.7618 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.003743, allocations: 0 / 0.7618 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.004017, allocations: 26.61 kB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.256e-06/0.00402, allocations: 0 / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.075e-05/0.004061, allocations: 1.625 kB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.004101, allocations: 0 / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.948e-05/0.004131, allocations: 5.422 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.938e-05/0.00416, allocations: 5.797 kB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.00417, allocations: 0 / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.004285, allocations: 16.95 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.004298, allocations: 1.781 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.538e-06/0.004307, allocations: 0.6562 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.207e-05/0.00439, allocations: 22.36 kB / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.004393, allocations: 0 / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.253e-06/0.004394, allocations: 0 / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.004398, allocations: 0.875 kB / 0.7619 GB, free: 4.691 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.0002193/0.004618, allocations: 221.9 kB / 0.7621 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.004656, allocations: 8.031 kB / 0.7621 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.004682, allocations: 0.9375 kB / 0.7621 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.188e-05/0.004744, allocations: 105.8 kB / 0.7622 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.004755, allocations: 2.438 kB / 0.7622 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.004777, allocations: 384 / 0.7622 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.25e-05/0.004859, allocations: 39.23 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.004871, allocations: 192 / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.004878, allocations: 384 / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.004887, allocations: 8.688 kB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.747e-05/0.004915, allocations: 7.922 kB / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.962e-05/0.005015, allocations: 57.92 kB / 0.7623 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.005172, allocations: 34.59 kB / 0.7624 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.794e-05/0.00519, allocations: 13.52 kB / 0.7624 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.005297, allocations: 4 kB / 0.7624 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.005324, allocations: 33.12 kB / 0.7624 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.005325, allocations: 0 / 0.7624 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.001255/0.00658, allocations: 272.7 kB / 0.7627 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.006615, allocations: 51.41 kB / 0.7627 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.145e-05/0.006646, allocations: 97.73 kB / 0.7628 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003343/0.006981, allocations: 26.89 kB / 0.7628 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.379e-05/0.007004, allocations: 81.45 kB / 0.7629 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.00705, allocations: 19.86 kB / 0.7629 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.007101, allocations: 18.58 kB / 0.763 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.337e-05/0.007184, allocations: 314.8 kB / 0.7633 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.758e-05/0.007232, allocations: 12.58 kB / 0.7633 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-05/0.007282, allocations: 22.58 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.053e-05/0.007372, allocations: 37.94 kB / 0.7633 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.007375, allocations: 4 kB / 0.7633 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001351/0.00751, allocations: 52.59 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.007526, allocations: 8 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.007531, allocations: 0 / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.007544, allocations: 0 / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.007716, allocations: 28.83 kB / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.007721, allocations: 8.797 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.007836, allocations: 25.97 kB / 0.7635 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.007849, allocations: 4 kB / 0.7635 GB, free: 2.98 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 7.317e-05/0.007922, allocations: 110.5 kB / 0.7636 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.007945, allocations: 4.656 kB / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.008151, allocations: 80.72 kB / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.008155, allocations: 0 / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.008157, allocations: 0 / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.008161, allocations: 3.938 kB / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.008448, allocations: 205.5 kB / 0.7638 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008449, allocations: 0 / 0.7638 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.008601, allocations: 29.45 kB / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.008603, allocations: 0 / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.008616, allocations: 5.062 kB / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.008617, allocations: 0 / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.00862, allocations: 3.938 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.008777, allocations: 140 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-06/0.008784, allocations: 3.984 kB / 0.764 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.008801, allocations: 0.9062 kB / 0.764 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.008944, allocations: 21.28 kB / 0.764 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.008963, allocations: 12.58 kB / 0.764 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.008973, allocations: 0.7656 kB / 0.764 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.336e-06/0.008981, allocations: 9.547 kB / 0.7641 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.008981, allocations: 0 / 0.7641 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000236/0.009217, allocations: 16.88 kB / 0.7641 GB, free: 2.316 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.0001642/0.009381, allocations: 85.33 kB / 0.7642 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.009516, allocations: 32.17 kB / 0.7642 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.009518, allocations: 1.469 kB / 0.7642 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.907e-05/0.009567, allocations: 23.44 kB / 0.7642 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.009722, allocations: 9.891 kB / 0.7642 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.01007, allocations: 119.6 kB / 0.7643 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.01011, allocations: 60.12 kB / 0.7644 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001516/0.01026, allocations: 26.81 kB / 0.7644 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.841e-05/0.01036, allocations: 64.23 kB / 0.7645 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of SimCode: time 7.91e-07/0.01036, allocations: 0.75 kB / 0.7645 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of Templates: time 0.002875/0.01323, allocations: 0.921 MB / 0.7654 GB, free: 0.9883 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 -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.977789280004799]