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.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.00139/0.00139, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.00143/0.00143, allocations: 201 kB / 22.17 MB, free: 5.211 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.472/1.472, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.827/2.827, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.002274/0.002274, allocations: 71.89 kB / 1.109 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.867/0.8693, allocations: 168.7 MB / 1.274 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001935/0.8712, allocations: 0.5821 MB / 1.275 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002714/0.8715, allocations: 55.8 kB / 1.275 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.449e-05/0.8715, allocations: 0 / 1.275 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.8715, allocations: 3.938 kB / 1.275 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-06/0.8715, allocations: 0 / 1.275 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.8717, allocations: 19.92 kB / 1.275 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.357e-05/0.8718, allocations: 0 / 1.275 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.8718, allocations: 0 / 1.275 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.699e-05/0.8718, allocations: 3.984 kB / 1.275 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.576e-05/0.8719, allocations: 7.984 kB / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.8719, allocations: 0 / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.872, allocations: 19.98 kB / 1.275 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.872, allocations: 0 / 1.275 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.872, allocations: 4 kB / 1.275 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.8721, allocations: 15.92 kB / 1.275 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.8721, allocations: 0 / 1.275 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8721, allocations: 0 / 1.275 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.8721, allocations: 0 / 1.275 GB, free: 3.645 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.0003548/0.8725, allocations: 318.2 kB / 1.275 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.8725, allocations: 12.03 kB / 1.275 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/0.8728, allocations: 20.91 kB / 1.275 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.8729, allocations: 160.4 kB / 1.275 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.8729, allocations: 4.375 kB / 1.275 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.8729, allocations: 4.312 kB / 1.275 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.8731, allocations: 42.17 kB / 1.275 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.8731, allocations: 192 / 1.275 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.8731, allocations: 3.938 kB / 1.275 GB, free: 3 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.8731, allocations: 0 / 1.275 GB, free: 3 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.098e-05/0.8732, allocations: 15.98 kB / 1.275 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.8734, allocations: 145.6 kB / 1.275 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.514e-05/0.8735, allocations: 26.59 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.8735, allocations: 8.922 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.8735, allocations: 0 / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.8736, allocations: 38.5 kB / 1.276 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.8736, allocations: 0 / 1.276 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.000244/0.8738, allocations: 49.61 kB / 1.276 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.8739, allocations: 51.41 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.857e-05/0.8739, allocations: 89.86 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.8739, allocations: 25.7 kB / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.874, allocations: 84.27 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.874, allocations: 11.98 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.874, allocations: 13.7 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.8742, allocations: 310.8 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.969e-05/0.8742, allocations: 4 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.206e-05/0.8743, allocations: 7.984 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.885e-05/0.8743, allocations: 24.84 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8744, allocations: 0 / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001327/0.8745, allocations: 41.69 kB / 1.276 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.8745, allocations: 4 kB / 1.276 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.8745, allocations: 0 / 1.276 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.8745, allocations: 7.938 kB / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.8746, allocations: 0 / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.8746, allocations: 0 / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.782e-05/0.8746, allocations: 7.984 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.8746, allocations: 4.031 kB / 1.276 GB, free: 1.914 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 7.493e-05/0.8747, allocations: 105.8 kB / 1.276 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.8747, allocations: 3.938 kB / 1.276 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.8748, allocations: 11.06 kB / 1.276 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.8748, allocations: 3.984 kB / 1.276 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8748, allocations: 3.938 kB / 1.276 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.8748, allocations: 3.938 kB / 1.276 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.8749, allocations: 145.7 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8749, allocations: 4 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.8749, allocations: 4 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.8749, allocations: 0 / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.8749, allocations: 11.92 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.8749, allocations: 0 / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8749, allocations: 0 / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.8751, allocations: 65.12 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.8751, allocations: 81.14 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.8752, allocations: 3.938 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.8752, allocations: 7.984 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-06/0.8752, allocations: 0 / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.8752, allocations: 0 / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.826e-05/0.8752, allocations: 79.28 kB / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8752, allocations: 0 / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001748/0.8754, allocations: 4 kB / 1.277 GB, free: 1.293 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.0001538/0.8756, allocations: 107.7 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.8757, allocations: 11.98 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8757, allocations: 0 / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.664e-05/0.8758, allocations: 7.984 kB / 1.277 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.8759, allocations: 1.562 kB / 1.277 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.8762, allocations: 109 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.8765, allocations: 0.6768 MB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.831e-05/0.8765, allocations: 0 / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.8765, allocations: 7.438 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of SimCode: time 2.9e-07/0.8765, allocations: 0 / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of Templates: time 0.002449/0.879, allocations: 232.5 kB / 1.278 GB, free: 92 kB / 0.9669 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.707605109084398]