Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.00171/0.00171, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002021/0.002021, allocations: 209.4 kB / 22.99 MB, free: 4.957 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.266/3.266, allocations: 0.49 GB / 0.7959 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 72.05 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3002, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002713/0.303, allocations: 1.489 MB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0009331/0.3039, allocations: 0.491 MB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.304, allocations: 3.938 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.112e-05/0.304, allocations: 7.922 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.488e-05/0.3041, allocations: 15.88 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.3043, allocations: 51.86 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.3045, allocations: 107.7 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.3046, allocations: 8.172 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.3047, allocations: 55.84 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.3048, allocations: 47.81 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.3049, allocations: 8 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.455e-05/0.3049, allocations: 12 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.835e-05/0.3049, allocations: 11.92 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.305, allocations: 35.86 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.3052, allocations: 91.62 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3052, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3052, allocations: 4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3052, allocations: 4 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007022/0.3059, allocations: 381.4 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.3059, allocations: 8.031 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.3061, allocations: 16.89 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.3063, allocations: 138.4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.3063, allocations: 384 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.3063, allocations: 12.38 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.3067, allocations: 159.4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3067, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3067, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.3067, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.3071, allocations: 121.6 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.3076, allocations: 256.4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.3079, allocations: 140.1 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.3081, allocations: 94.64 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.3082, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003235/0.3085, allocations: 161 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3085, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.000813/0.3093, allocations: 338.5 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.3094, allocations: 85.11 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.3095, allocations: 132.2 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.3095, allocations: 29.7 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.3096, allocations: 100.1 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.3096, allocations: 19.84 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/0.3097, allocations: 33.64 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3098, allocations: 322.8 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.3101, allocations: 127.4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.3103, allocations: 127.3 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.3107, allocations: 177.9 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3107, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005866/0.3113, allocations: 324.4 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.888e-05/0.3113, allocations: 69.42 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.3113, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3113, allocations: 4 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3115, allocations: 11.98 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3115, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.3116, allocations: 27.92 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.3116, allocations: 8 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001397/0.3118, allocations: 164.5 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.3118, allocations: 8 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.3118, allocations: 8.719 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3118, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3118, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.3119, allocations: 4.25 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.312, allocations: 133.2 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.312, allocations: 4 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.93e-05/0.3121, allocations: 11.98 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3121, allocations: 3.984 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3121, allocations: 8.094 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3121, allocations: 3.938 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3121, allocations: 0 / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.3127, allocations: 280.3 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.3127, allocations: 15.83 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.3127, allocations: 7.984 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.3128, allocations: 19.98 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.313, allocations: 39.95 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.313, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.53e-05/0.3131, allocations: 107.2 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3131, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002161/0.3133, allocations: 24 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001122/0.3134, allocations: 109.2 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005994/0.314, allocations: 351.7 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.314, allocations: 4 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.3143, allocations: 161 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.3145, allocations: 15.94 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/0.315, allocations: 249.2 kB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.552e-05/0.3151, allocations: 76.45 kB / 1.334 GB, free: 8.918 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.105e-05/0.3152, allocations: 11.98 kB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.3152, allocations: 11.44 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3152, allocations: 0 / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of Templates: time 0.005167/0.3204, allocations: 2.106 MB / 1.337 GB, free: 6.812 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.567984410008648]