Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.001448/0.001448, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001531/0.001531, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9977/0.9977, allocations: 177.2 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.621/2.621, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.47e-05/3.748e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.0032/0.003237, allocations: 1.546 MB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000721/0.003958, allocations: 498.6 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.003996, allocations: 0 / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.004024, allocations: 3.938 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.989e-05/0.004094, allocations: 3.984 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.004268, allocations: 19.92 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.758e-05/0.004326, allocations: 23.92 kB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.248e-05/0.004398, allocations: 4 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.004472, allocations: 23.92 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.243e-05/0.004504, allocations: 11.97 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.004517, allocations: 4 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.869e-05/0.004595, allocations: 23.86 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.004609, allocations: 3.938 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.004624, allocations: 8 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.984e-05/0.004714, allocations: 23.95 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.004717, allocations: 0 / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.243e-06/0.004718, allocations: 0 / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.004723, allocations: 0 / 0.8408 GB, free: 11.98 MB / 0.8073 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.0002699/0.004993, allocations: 240.9 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.005025, allocations: 12.61 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.005226, allocations: 12.92 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.363e-05/0.005309, allocations: 117.7 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.005318, allocations: 4.312 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.005326, allocations: 4.375 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.575e-05/0.005421, allocations: 58.94 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.005428, allocations: 4.125 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.005436, allocations: 4.375 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.005442, allocations: 3.938 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.453e-05/0.005466, allocations: 11.98 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002502/0.005716, allocations: 148.2 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.006e-05/0.005756, allocations: 22.58 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.005772, allocations: 8.922 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.005787, allocations: 0 / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.005812, allocations: 38.5 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.005813, allocations: 0 / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001239/0.005937, allocations: 41.67 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.005966, allocations: 51.41 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.723e-05/0.006033, allocations: 110.8 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.006044, allocations: 29.7 kB / 0.8417 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.006076, allocations: 80.14 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.006095, allocations: 7.953 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.006128, allocations: 17.72 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.006221, allocations: 318.8 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.006235, allocations: 4 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.466e-05/0.006249, allocations: 7.938 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.235e-05/0.006282, allocations: 8.859 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006284, allocations: 0 / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.02e-05/0.006354, allocations: 41.75 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.006369, allocations: 8 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006374, allocations: 0 / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.006389, allocations: 3.938 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.006474, allocations: 7.984 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.006477, allocations: 0 / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.00651, allocations: 4 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.006518, allocations: 3.984 kB / 0.8421 GB, free: 10.41 MB / 0.8073 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 (2): * Single equations (assignments): 2 * 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.555e-05/0.006583, allocations: 113.8 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.006604, allocations: 32 / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.006647, allocations: 15.3 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.006653, allocations: 11.88 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.006655, allocations: 0 / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.006658, allocations: 0 / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.006771, allocations: 65.89 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006772, allocations: 0 / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.006822, allocations: 11.98 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006824, allocations: 0 / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.00683, allocations: 0 / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.006832, allocations: 256 / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.006833, allocations: 4 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.006938, allocations: 135.5 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.006948, allocations: 7.953 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.00696, allocations: 0 / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.007031, allocations: 15.92 kB / 0.8425 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.007066, allocations: 3.938 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.007072, allocations: 7.984 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.222e-05/0.007085, allocations: 4.859 kB / 0.8425 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.007085, allocations: 4 kB / 0.8425 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002271/0.007312, allocations: 4 kB / 0.8425 GB, free: 9.965 MB / 0.8073 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 (2): * Single equations (assignments): 2 * 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.0001184/0.00743, allocations: 80.44 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.827e-05/0.007498, allocations: 12.86 kB / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.007501, allocations: 0 / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-05/0.007521, allocations: 8.859 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.00773, allocations: 13.86 kB / 0.8426 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.007977, allocations: 104.8 kB / 0.8427 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.934e-05/0.008017, allocations: 59.36 kB / 0.8428 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.797e-05/0.008055, allocations: 0 / 0.8428 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.008116, allocations: 55.38 kB / 0.8429 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of SimCode: time 8.02e-07/0.008116, allocations: 0 / 0.8429 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of Templates: time 0.002583/0.0107, allocations: 0.605 MB / 0.8434 GB, free: 8.98 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothHeaviside.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.5427367920055985]