Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001903/0.001903, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001998/0.001998, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.518/1.518, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.048/3.048, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/2.975e-05, allocations: 10.73 kB / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001706/0.001736, allocations: 0.5931 MB / 0.8114 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000233/0.001969, allocations: 43.86 kB / 0.8115 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.001986, allocations: 1.406 kB / 0.8115 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.068e-05/0.001996, allocations: 0 / 0.8115 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 1.053e-05/0.002007, allocations: 3.938 kB / 0.8115 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.002233, allocations: 16.67 kB / 0.8115 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 3.716e-05/0.002271, allocations: 0 / 0.8115 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.002307, allocations: 4.844 kB / 0.8115 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.284e-05/0.002339, allocations: 11.98 kB / 0.8115 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.308e-05/0.002363, allocations: 0.6562 kB / 0.8115 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.002374, allocations: 0 / 0.8115 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.002474, allocations: 20.53 kB / 0.8115 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.002489, allocations: 4 kB / 0.8115 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.211e-05/0.002501, allocations: 1.25 kB / 0.8115 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.923e-05/0.0026, allocations: 11.98 kB / 0.8116 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.002603, allocations: 0 / 0.8116 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002603, allocations: 6.281 kB / 0.8116 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.002607, allocations: 0 / 0.8116 GB, free: 1.336 MB / 0.7605 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.00036/0.002967, allocations: 344.3 kB / 0.8119 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.003004, allocations: 8.031 kB / 0.8119 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.003237, allocations: 16.91 kB / 0.8119 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.597e-05/0.003333, allocations: 105.3 kB / 0.812 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.003347, allocations: 8.375 kB / 0.812 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.003355, allocations: 1.906 kB / 0.812 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.003462, allocations: 34.25 kB / 0.8121 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.003471, allocations: 192 / 0.8121 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.003479, allocations: 1.531 kB / 0.8121 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.003483, allocations: 384 / 0.8121 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.684e-05/0.003549, allocations: 7.938 kB / 0.8121 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.00369, allocations: 105.2 kB / 0.8122 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 8.731e-05/0.003778, allocations: 35.55 kB / 0.8122 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.558e-05/0.003823, allocations: 16.28 kB / 0.8122 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.003841, allocations: 0 / 0.8122 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.003874, allocations: 34.27 kB / 0.8123 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.003875, allocations: 0 / 0.8123 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0002008/0.004076, allocations: 42.44 kB / 0.8123 GB, free: 472 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.004126, allocations: 59.88 kB / 0.8124 GB, free: 400 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.004211, allocations: 143.6 kB / 0.8125 GB, free: 244 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.004231, allocations: 25.7 kB / 0.8125 GB, free: 212 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.004297, allocations: 126.9 kB / 0.8126 GB, free: 80 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.004322, allocations: 0 / 0.8126 GB, free: 80 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.004366, allocations: 28.58 kB / 0.8127 GB, free: 44 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002828/0.004649, allocations: 496.1 kB / 0.8131 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-05/0.004681, allocations: 0 / 0.8131 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.004708, allocations: 4.656 kB / 0.8131 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.288e-05/0.004781, allocations: 16.39 kB / 0.8132 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.004782, allocations: 0.5625 kB / 0.8132 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001068/0.004889, allocations: 43.02 kB / 0.8132 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.004902, allocations: 4 kB / 0.8132 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.004906, allocations: 4 kB / 0.8132 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.00492, allocations: 4.734 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.52e-05/0.004976, allocations: 0 / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.00498, allocations: 1.688 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.00501, allocations: 7.938 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.005016, allocations: 0 / 0.8132 GB, free: 15.46 MB / 0.7761 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 0.0001096/0.005126, allocations: 152.6 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.005135, allocations: 0.875 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.005159, allocations: 7 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.005165, allocations: 11.44 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.005168, allocations: 0 / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.00517, allocations: 0 / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.00527, allocations: 108.6 kB / 0.8135 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.005271, allocations: 0 / 0.8135 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.005318, allocations: 4 kB / 0.8135 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.005319, allocations: 0 / 0.8135 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.005328, allocations: 4 kB / 0.8135 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.005329, allocations: 0 / 0.8135 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.005335, allocations: 8.469 kB / 0.8135 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.005481, allocations: 82.2 kB / 0.8136 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-06/0.005489, allocations: 7.938 kB / 0.8136 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.005499, allocations: 0 / 0.8136 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.616e-05/0.005525, allocations: 4 kB / 0.8136 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.005539, allocations: 3.938 kB / 0.8136 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.005542, allocations: 1.219 kB / 0.8136 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.234e-05/0.005635, allocations: 119.2 kB / 0.8137 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005635, allocations: 0 / 0.8137 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001648/0.0058, allocations: 1.375 kB / 0.8137 GB, free: 14.89 MB / 0.7761 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.0001194/0.005919, allocations: 99.19 kB / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.006039, allocations: 20.58 kB / 0.8138 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.006041, allocations: 4.844 kB / 0.8138 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.006081, allocations: 11.62 kB / 0.8138 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.006219, allocations: 5.281 kB / 0.8138 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.006468, allocations: 86.73 kB / 0.8139 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.75e-05/0.006525, allocations: 55.36 kB / 0.814 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.776e-05/0.006553, allocations: 2.656 kB / 0.814 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.006582, allocations: 12.48 kB / 0.814 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of SimCode: time 4.01e-07/0.006583, allocations: 3.219 kB / 0.814 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of Templates: time 0.00257/0.009153, allocations: 248.4 kB / 0.8142 GB, free: 14.3 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.928868960938416]