Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.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.0009367/0.0009367, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001477/0.001477, allocations: 164.7 kB / 24.87 MB, free: 8.891 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.9385/0.9385, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.742/1.742, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.513e-05, allocations: 2.312 kB / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001014/0.001029, allocations: 0.6124 MB / 0.789 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002012/0.00123, allocations: 43.81 kB / 0.789 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.599e-05/0.001246, allocations: 0 / 0.789 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.001259, allocations: 0 / 0.789 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-06/0.001266, allocations: 0 / 0.789 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.001485, allocations: 20.75 kB / 0.789 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.217e-05/0.001528, allocations: 0 / 0.789 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.001569, allocations: 4.656 kB / 0.789 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.367e-05/0.001593, allocations: 1.375 kB / 0.789 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.467e-05/0.001617, allocations: 0 / 0.789 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.001631, allocations: 0 / 0.789 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.864e-05/0.001729, allocations: 23.97 kB / 0.7891 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.001743, allocations: 1.312 kB / 0.7891 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.204e-05/0.001755, allocations: 0 / 0.7891 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.809e-05/0.001843, allocations: 23.91 kB / 0.7891 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.001846, allocations: 3.938 kB / 0.7891 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.001846, allocations: 1.062 kB / 0.7891 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.00185, allocations: 0 / 0.7891 GB, free: 11.44 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002174/0.002068, allocations: 336.4 kB / 0.7894 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.002101, allocations: 9.406 kB / 0.7894 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.00226, allocations: 12.92 kB / 0.7894 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.925e-05/0.002309, allocations: 118.2 kB / 0.7895 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.002318, allocations: 384 / 0.7895 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-06/0.002322, allocations: 384 / 0.7895 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.895e-05/0.002401, allocations: 50.89 kB / 0.7896 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.002409, allocations: 2.844 kB / 0.7896 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.002415, allocations: 384 / 0.7896 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.002418, allocations: 384 / 0.7896 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.518e-05/0.002433, allocations: 7.938 kB / 0.7896 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.566e-05/0.002499, allocations: 89.27 kB / 0.7897 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.004e-05/0.002529, allocations: 27.09 kB / 0.7897 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.2e-05/0.002541, allocations: 8.406 kB / 0.7897 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.002551, allocations: 1.656 kB / 0.7897 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.002566, allocations: 33.39 kB / 0.7898 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.002567, allocations: 3.938 kB / 0.7898 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 8.579e-05/0.002652, allocations: 42.81 kB / 0.7898 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.002675, allocations: 51.41 kB / 0.7898 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.305e-05/0.002708, allocations: 142.2 kB / 0.79 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.002716, allocations: 27.3 kB / 0.79 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.002742, allocations: 126.9 kB / 0.7901 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.002764, allocations: 0 / 0.7901 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.002786, allocations: 19.38 kB / 0.7901 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.00289, allocations: 0.4942 MB / 0.7906 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.629e-06/0.0029, allocations: 0 / 0.7906 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.002905, allocations: 4 kB / 0.7906 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.423e-05/0.00293, allocations: 11.62 kB / 0.7906 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.002932, allocations: 4.594 kB / 0.7906 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.963e-05/0.002971, allocations: 34.23 kB / 0.7907 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-06/0.002981, allocations: 4.719 kB / 0.7907 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.002984, allocations: 0 / 0.7907 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.002993, allocations: 8.453 kB / 0.7907 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.805e-05/0.003031, allocations: 5.469 kB / 0.7907 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.003033, allocations: 0 / 0.7907 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.09e-05/0.003044, allocations: 352 / 0.7907 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.003049, allocations: 4 kB / 0.7907 GB, free: 9.602 MB / 0.7448 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 (1): * Single equations (assignments): 1 * 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.336e-05/0.003102, allocations: 157 kB / 0.7909 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-06/0.003106, allocations: 1.375 kB / 0.7909 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.636e-05/0.003123, allocations: 3 kB / 0.7909 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.003125, allocations: 4 kB / 0.7909 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.003128, allocations: 9.141 kB / 0.7909 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.00313, allocations: 0 / 0.7909 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.043e-05/0.00318, allocations: 105 kB / 0.791 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.00318, allocations: 1.375 kB / 0.791 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-05/0.003193, allocations: 4 kB / 0.791 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.003194, allocations: 0 / 0.791 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-06/0.003197, allocations: 0 / 0.791 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.003198, allocations: 1.75 kB / 0.791 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.003198, allocations: 0 / 0.791 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.218e-05/0.003251, allocations: 80.36 kB / 0.7911 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-06/0.003253, allocations: 0 / 0.7911 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-06/0.00326, allocations: 1.344 kB / 0.7911 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-06/0.00327, allocations: 4 kB / 0.7911 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-06/0.003278, allocations: 3.984 kB / 0.7911 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.00328, allocations: 0.5938 kB / 0.7911 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.155e-05/0.003312, allocations: 119.8 kB / 0.7912 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.003312, allocations: 0.5938 kB / 0.7912 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001045/0.003416, allocations: 5.844 kB / 0.7912 GB, free: 9.059 MB / 0.7448 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 (1): * Single equations (assignments): 1 * 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 6.143e-05/0.003478, allocations: 95.19 kB / 0.7913 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.352e-05/0.003531, allocations: 11.69 kB / 0.7913 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.62e-07/0.003532, allocations: 0.875 kB / 0.7913 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.468e-06/0.003541, allocations: 15.16 kB / 0.7913 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.347e-05/0.003625, allocations: 7.922 kB / 0.7913 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.003911, allocations: 87.95 kB / 0.7914 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.674e-05/0.003938, allocations: 51.36 kB / 0.7914 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.049e-05/0.003958, allocations: 4 kB / 0.7914 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.003999, allocations: 70.81 kB / 0.7915 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.004, allocations: 5.781 kB / 0.7915 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of Templates: time 0.001449/0.005448, allocations: 277.7 kB / 0.7918 GB, free: 8.387 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegStep.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.829181887675077]