Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003079/0.003079, allocations: 75.89 kB / 1.059 GB, free: 340 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3401, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001757/0.3418, allocations: 0.5924 MB / 1.217 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002567/0.3421, allocations: 51.8 kB / 1.217 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.648e-05/0.3421, allocations: 0 / 1.217 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.3421, allocations: 0 / 1.217 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-06/0.3421, allocations: 4 kB / 1.217 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.3423, allocations: 11.92 kB / 1.217 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.034e-05/0.3424, allocations: 0 / 1.217 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.3424, allocations: 3.984 kB / 1.217 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.481e-05/0.3424, allocations: 7.984 kB / 1.217 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.62e-05/0.3425, allocations: 11.94 kB / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.3425, allocations: 0 / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3426, allocations: 19.98 kB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.576e-06/0.3426, allocations: 0 / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.55e-05/0.3426, allocations: 0 / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.681e-05/0.3427, allocations: 7.984 kB / 1.217 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3427, allocations: 4 kB / 1.217 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.086e-06/0.3427, allocations: 4 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.3427, allocations: 3.984 kB / 1.217 GB, free: 14.59 MB / 0.9669 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.0003839/0.3431, allocations: 307.5 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3431, allocations: 16.06 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.3434, allocations: 16.91 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.3436, allocations: 164.4 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3436, allocations: 384 / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.3436, allocations: 384 / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.3437, allocations: 38.19 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.3437, allocations: 4.188 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3437, allocations: 3.938 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3437, allocations: 4 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.427e-05/0.3438, allocations: 7.984 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.344, allocations: 149.7 kB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.061e-05/0.3441, allocations: 22.59 kB / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.3441, allocations: 8.922 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.3441, allocations: 7.938 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3442, allocations: 38.56 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.3442, allocations: 0 / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002304/0.3444, allocations: 53.5 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.3444, allocations: 55.41 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.918e-05/0.3445, allocations: 89.86 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3445, allocations: 29.64 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.3445, allocations: 84.27 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.3446, allocations: 0 / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.3446, allocations: 13.7 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3447, allocations: 318.8 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.403e-05/0.3448, allocations: 0 / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-05/0.3448, allocations: 11.92 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.465e-05/0.3449, allocations: 20.91 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3449, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001208/0.345, allocations: 37.69 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3451, allocations: 8 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.3451, allocations: 0 / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3451, allocations: 7.938 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.5e-05/0.3452, allocations: 7.984 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3452, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.366e-05/0.3452, allocations: 4.031 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.3452, allocations: 0 / 1.218 GB, free: 12.86 MB / 0.9669 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 9.926e-05/0.3453, allocations: 113.8 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.3453, allocations: 3.938 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.3453, allocations: 7.062 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3453, allocations: 0 / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3453, allocations: 0 / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3453, allocations: 0 / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.3455, allocations: 149.7 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.3455, allocations: 0 / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.3455, allocations: 4 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3455, allocations: 0 / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.3455, allocations: 7.922 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3455, allocations: 4 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3455, allocations: 0 / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.3457, allocations: 65.12 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.3457, allocations: 77.11 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.3457, allocations: 7.938 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.416e-05/0.3458, allocations: 7.922 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.3458, allocations: 3.984 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.3458, allocations: 0 / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.328e-05/0.3459, allocations: 79.22 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3459, allocations: 0 / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001792/0.346, allocations: 4 kB / 1.219 GB, free: 12.24 MB / 0.9669 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.0001249/0.3462, allocations: 101.7 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.3463, allocations: 11.98 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.3463, allocations: 4 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.399e-05/0.3464, allocations: 11.92 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.3465, allocations: 7.938 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.3468, allocations: 105 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.3472, allocations: 0.6729 MB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.916e-05/0.3472, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.3473, allocations: 7.438 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.3473, allocations: 0 / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of Templates: time 0.00242/0.3497, allocations: 232.8 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.9961517713963985]