Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001391/0.001391, allocations: 80.45 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001534/0.001534, allocations: 160.8 kB / 22.45 MB, free: 5.375 MB / 14.72 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.526/1.526, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.903/2.903, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 1 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.706e-05, allocations: 6.281 kB / 1 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001792/0.001819, allocations: 0.597 MB / 1.001 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002537/0.002072, allocations: 55.73 kB / 1.001 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.002091, allocations: 0 / 1.001 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.002106, allocations: 0 / 1.001 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.002112, allocations: 0 / 1.001 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.002341, allocations: 15.92 kB / 1.001 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 4.055e-05/0.002382, allocations: 0 / 1.001 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.002429, allocations: 7.984 kB / 1.001 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.002452, allocations: 0 / 1.001 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.109e-05/0.002473, allocations: 0 / 1.001 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.002484, allocations: 0 / 1.001 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.002585, allocations: 19.98 kB / 1.001 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.002595, allocations: 0 / 1.001 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.002611, allocations: 4 kB / 1.001 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 9.515e-05/0.002706, allocations: 19.97 kB / 1.001 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.002708, allocations: 0 / 1.001 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.42e-07/0.002709, allocations: 4 kB / 1.001 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.567e-06/0.002718, allocations: 0 / 1.001 GB, free: 6.492 MB / 0.9512 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.0003159/0.003034, allocations: 238.4 kB / 1.001 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.003076, allocations: 8.031 kB / 1.001 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002894/0.003366, allocations: 24.84 kB / 1.001 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.727e-05/0.003453, allocations: 101.8 kB / 1.001 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.003461, allocations: 384 / 1.001 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.003473, allocations: 384 / 1.001 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.003624, allocations: 46.19 kB / 1.001 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.003632, allocations: 4.188 kB / 1.001 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.003641, allocations: 384 / 1.001 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.003645, allocations: 384 / 1.001 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.003747, allocations: 11.92 kB / 1.001 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.003876, allocations: 97.33 kB / 1.001 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.937e-05/0.003965, allocations: 22.59 kB / 1.001 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.004021, allocations: 8.797 kB / 1.001 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.004042, allocations: 15.98 kB / 1.001 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.00407, allocations: 34.56 kB / 1.001 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.004071, allocations: 0 / 1.001 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0002612/0.004332, allocations: 41.69 kB / 1.002 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.004371, allocations: 51.41 kB / 1.002 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.451e-05/0.004416, allocations: 89.86 kB / 1.002 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.004437, allocations: 29.69 kB / 1.002 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.004469, allocations: 80.14 kB / 1.002 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.0045, allocations: 3.984 kB / 1.002 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.004531, allocations: 17.84 kB / 1.002 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.004677, allocations: 318.8 kB / 1.002 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.511e-05/0.004732, allocations: 4 kB / 1.002 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.727e-05/0.00478, allocations: 11.92 kB / 1.002 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.004883, allocations: 16.84 kB / 1.002 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.004885, allocations: 0 / 1.002 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001422/0.005027, allocations: 45.75 kB / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.00504, allocations: 4 kB / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.005045, allocations: 0 / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.005062, allocations: 0 / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.304e-05/0.005145, allocations: 7.984 kB / 1.002 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.00515, allocations: 0 / 1.002 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.005192, allocations: 11.89 kB / 1.002 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.005198, allocations: 0 / 1.002 GB, free: 4.996 MB / 0.9512 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 8.008e-05/0.005278, allocations: 110.4 kB / 1.002 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-06/0.005287, allocations: 7.875 kB / 1.002 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.005317, allocations: 15.02 kB / 1.002 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005319, allocations: 0 / 1.002 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.005322, allocations: 0 / 1.002 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.005324, allocations: 0 / 1.002 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.36e-05/0.005408, allocations: 97.27 kB / 1.002 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005409, allocations: 0 / 1.002 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.005455, allocations: 4 kB / 1.002 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.005456, allocations: 0 / 1.002 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.005466, allocations: 3.984 kB / 1.002 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.005467, allocations: 0 / 1.002 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.005473, allocations: 11.98 kB / 1.002 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.005634, allocations: 65.06 kB / 1.002 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-06/0.005641, allocations: 4 kB / 1.002 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.005652, allocations: 0 / 1.002 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.733e-05/0.00569, allocations: 3.984 kB / 1.002 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.005709, allocations: 0 / 1.002 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.005718, allocations: 7.938 kB / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.845e-05/0.005776, allocations: 79.22 kB / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.005777, allocations: 0 / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002311/0.006008, allocations: 4.031 kB / 1.003 GB, free: 4.531 MB / 0.9512 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 0.0001166/0.006124, allocations: 96.56 kB / 1.003 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.006282, allocations: 15.98 kB / 1.003 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.006284, allocations: 0 / 1.003 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.344e-05/0.006337, allocations: 7.984 kB / 1.003 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.006469, allocations: 4 kB / 1.003 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.006759, allocations: 89.11 kB / 1.003 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.406e-05/0.006824, allocations: 55.36 kB / 1.003 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.306e-05/0.006857, allocations: 0 / 1.003 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.006889, allocations: 8.5 kB / 1.003 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of SimCode: time 4.81e-07/0.00689, allocations: 0 / 1.003 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of Templates: time 0.003209/0.0101, allocations: 249.3 kB / 1.003 GB, free: 3.965 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.928136717528105]