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.000784/0.000784, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001154/0.001938, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001115/0.001115, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.002434, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.034/1.034, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09652/1.13, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.453/2.453, allocations: 446.7 MB / 0.6745 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.237/2.69, allocations: 145.9 MB / 0.817 GB, free: 4.242 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.824e-06/1.824e-06, allocations: 0 / 0.8184 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149e-05/1.332e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.000987/0.001, allocations: 0.65 MB / 0.819 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 9.506e-05/0.001095, allocations: 47.8 kB / 0.819 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.187e-06/0.001105, allocations: 0 / 0.819 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.128e-06/0.001109, allocations: 0 / 0.819 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.22e-07/0.00111, allocations: 4 kB / 0.819 GB, free: 2.168 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.969e-05/0.001199, allocations: 19.86 kB / 0.8191 GB, free: 2.148 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.853e-05/0.001248, allocations: 4 kB / 0.8191 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.001287, allocations: 4 kB / 0.8191 GB, free: 2.141 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.282e-05/0.001319, allocations: 0 / 0.8191 GB, free: 2.141 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.839e-05/0.001348, allocations: 4 kB / 0.8191 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.001359, allocations: 0 / 0.8191 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.001481, allocations: 23.97 kB / 0.8191 GB, free: 2.113 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.839e-06/0.00149, allocations: 0 / 0.8191 GB, free: 2.113 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.054e-05/0.001501, allocations: 0 / 0.8191 GB, free: 2.113 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.812e-05/0.001589, allocations: 27.86 kB / 0.8191 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.645e-05/0.001606, allocations: 0 / 0.8191 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.72e-07/0.001606, allocations: 0 / 0.8191 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.733e-05/0.001623, allocations: 0 / 0.8191 GB, free: 2.086 MB / 0.7917 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.0002433/0.001867, allocations: 216.7 kB / 0.8193 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.001898, allocations: 8.625 kB / 0.8193 GB, free: 1.84 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.002118, allocations: 94.02 kB / 0.8194 GB, free: 1.73 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.757e-05/0.002175, allocations: 105.8 kB / 0.8195 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.002185, allocations: 384 / 0.8195 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.002192, allocations: 4.359 kB / 0.8195 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.139e-05/0.002283, allocations: 54.89 kB / 0.8196 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.002289, allocations: 192 / 0.8196 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.002296, allocations: 384 / 0.8196 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.0023, allocations: 384 / 0.8196 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.71e-05/0.002317, allocations: 7.938 kB / 0.8196 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.362e-05/0.002391, allocations: 57.03 kB / 0.8196 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.464e-05/0.002426, allocations: 22.61 kB / 0.8197 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.072e-05/0.002436, allocations: 4.859 kB / 0.8197 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.002454, allocations: 7.938 kB / 0.8197 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.002473, allocations: 34.62 kB / 0.8197 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.002473, allocations: 0 / 0.8197 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 9.247e-05/0.002566, allocations: 29.7 kB / 0.8197 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.002601, allocations: 51.41 kB / 0.8198 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.453e-05/0.002625, allocations: 93.84 kB / 0.8199 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.002633, allocations: 25.7 kB / 0.8199 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 1.78e-05/0.00265, allocations: 80.14 kB / 0.82 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.002678, allocations: 7.938 kB / 0.82 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.002698, allocations: 13.83 kB / 0.82 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.487e-05/0.002763, allocations: 318.8 kB / 0.8203 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.002773, allocations: 4 kB / 0.8203 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-06/0.002779, allocations: 3.938 kB / 0.8203 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.618e-05/0.002805, allocations: 20.84 kB / 0.8203 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.002807, allocations: 0 / 0.8203 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.104e-05/0.002838, allocations: 33.64 kB / 0.8204 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.002848, allocations: 4 kB / 0.8204 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.002852, allocations: 0 / 0.8204 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.002861, allocations: 8.094 kB / 0.8204 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.865e-05/0.00292, allocations: 3.984 kB / 0.8204 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-06/0.002922, allocations: 0 / 0.8204 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.243e-05/0.002935, allocations: 4 kB / 0.8204 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.002939, allocations: 0 / 0.8204 GB, free: 0.6172 MB / 0.7917 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 4.44e-05/0.002983, allocations: 113.7 kB / 0.8205 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-06/0.002987, allocations: 0 / 0.8205 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.675e-05/0.003004, allocations: 3 kB / 0.8205 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.003005, allocations: 4 kB / 0.8205 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.003006, allocations: 4 kB / 0.8205 GB, free: 500 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.003009, allocations: 0 / 0.8205 GB, free: 500 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.853e-05/0.003047, allocations: 65.83 kB / 0.8206 GB, free: 416 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.003048, allocations: 0 / 0.8206 GB, free: 416 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.283e-05/0.003061, allocations: 4 kB / 0.8206 GB, free: 412 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-06/0.003063, allocations: 0 / 0.8206 GB, free: 412 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-07/0.003064, allocations: 0 / 0.8206 GB, free: 412 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-06/0.003067, allocations: 4 kB / 0.8206 GB, free: 408 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.31e-07/0.003067, allocations: 0 / 0.8206 GB, free: 408 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.003068, allocations: 0 / 0.8206 GB, free: 408 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.558e-05/0.003113, allocations: 61.06 kB / 0.8206 GB, free: 328 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-06/0.003119, allocations: 4 kB / 0.8206 GB, free: 324 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-06/0.003127, allocations: 0 / 0.8206 GB, free: 324 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-06/0.003136, allocations: 7.938 kB / 0.8206 GB, free: 316 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.003138, allocations: 3.984 kB / 0.8206 GB, free: 312 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.859e-06/0.003143, allocations: 4.859 kB / 0.8206 GB, free: 304 kB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.003143, allocations: 0 / 0.8206 GB, free: 304 kB / 0.7917 GB Notification: Performance of remove unused functions: time 8.753e-05/0.003231, allocations: 4 kB / 0.8207 GB, free: 300 kB / 0.7917 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.791e-05/0.003299, allocations: 72.42 kB / 0.8207 GB, free: 216 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 5.374e-05/0.003353, allocations: 12.89 kB / 0.8207 GB, free: 200 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.003356, allocations: 0 / 0.8207 GB, free: 200 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 8.065e-06/0.003364, allocations: 8.859 kB / 0.8207 GB, free: 188 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.136e-05/0.003415, allocations: 11.92 kB / 0.8208 GB, free: 176 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000136/0.003551, allocations: 89.14 kB / 0.8208 GB, free: 60 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.357e-05/0.003585, allocations: 55.3 kB / 0.8209 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.167e-05/0.003606, allocations: 12.09 kB / 0.8209 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.003638, allocations: 55.31 kB / 0.821 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.003638, allocations: 0 / 0.821 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of Templates: time 0.001432/0.00507, allocations: 271.5 kB / 0.8212 GB, free: 15.65 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.ref.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: 5.081294162198901]