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.001927/0.001927, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.002219/0.002219, allocations: 164.8 kB / 22.46 MB, free: 5.375 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.522/1.522, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 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 2.914/2.914, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 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.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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9814 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.121e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002697/0.002728, allocations: 1.479 MB / 0.9828 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.003682, allocations: 0.4986 MB / 0.9833 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.003739, allocations: 0 / 0.9833 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.278e-05/0.003832, allocations: 7.875 kB / 0.9833 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.915e-05/0.003891, allocations: 19.84 kB / 0.9834 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.004134, allocations: 39.95 kB / 0.9834 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.004321, allocations: 115.6 kB / 0.9835 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.004406, allocations: 4.188 kB / 0.9835 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.004616, allocations: 79.75 kB / 0.9836 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.004696, allocations: 31.94 kB / 0.9836 GB, free: 8.656 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.004726, allocations: 11.94 kB / 0.9836 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.587e-05/0.004772, allocations: 12 kB / 0.9836 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.004812, allocations: 11.98 kB / 0.9836 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.004875, allocations: 27.92 kB / 0.9837 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.005054, allocations: 103.7 kB / 0.9838 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.005066, allocations: 4 kB / 0.9838 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.31e-07/0.005067, allocations: 4 kB / 0.9838 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.005071, allocations: 0 / 0.9838 GB, free: 8.484 MB / 0.8887 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.0007018/0.005773, allocations: 373.4 kB / 0.9841 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.005808, allocations: 8.031 kB / 0.9841 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.005961, allocations: 20.88 kB / 0.9842 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.006198, allocations: 141.5 kB / 0.9843 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.006211, allocations: 4.375 kB / 0.9843 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.006234, allocations: 8.375 kB / 0.9843 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.006604, allocations: 147.9 kB / 0.9845 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.006612, allocations: 192 / 0.9845 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.006628, allocations: 4.125 kB / 0.9845 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.006635, allocations: 4 kB / 0.9845 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.006976, allocations: 117.6 kB / 0.9846 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000537/0.007513, allocations: 264.4 kB / 0.9848 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.007875, allocations: 136.2 kB / 0.985 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.008097, allocations: 94.58 kB / 0.985 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.008111, allocations: 3.938 kB / 0.985 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003189/0.00843, allocations: 157 kB / 0.9852 GB, free: 6.875 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.008432, allocations: 0 / 0.9852 GB, free: 6.875 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0008178/0.009249, allocations: 338.5 kB / 0.9855 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.009316, allocations: 85.11 kB / 0.9856 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.00946, allocations: 141 kB / 0.9857 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.009489, allocations: 29.7 kB / 0.9858 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.009566, allocations: 96.12 kB / 0.9859 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.00959, allocations: 15.91 kB / 0.9859 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.009659, allocations: 29.7 kB / 0.9859 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.009806, allocations: 314.8 kB / 0.9862 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.01006, allocations: 135.3 kB / 0.9863 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.01031, allocations: 127.3 kB / 0.9865 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/0.0107, allocations: 185.8 kB / 0.9866 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.0107, allocations: 0 / 0.9866 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006114/0.01131, allocations: 320.3 kB / 0.9869 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-05/0.01138, allocations: 67.39 kB / 0.987 GB, free: 4.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.01138, allocations: 3.938 kB / 0.987 GB, free: 4.859 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.0114, allocations: 4 kB / 0.987 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.01152, allocations: 11.98 kB / 0.987 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.01153, allocations: 0 / 0.987 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.01169, allocations: 31.86 kB / 0.987 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.01171, allocations: 8 kB / 0.9871 GB, free: 4.805 MB / 0.8887 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.0001488/0.01186, allocations: 147.5 kB / 0.9872 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.0119, allocations: 23.88 kB / 0.9872 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.01194, allocations: 8.781 kB / 0.9872 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01194, allocations: 0 / 0.9872 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01194, allocations: 0 / 0.9872 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.01195, allocations: 4 kB / 0.9872 GB, free: 4.609 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.01209, allocations: 125.4 kB / 0.9874 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.01209, allocations: 0 / 0.9874 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.161e-05/0.01218, allocations: 15.92 kB / 0.9874 GB, free: 4.441 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01218, allocations: 0 / 0.9874 GB, free: 4.441 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.0122, allocations: 11.98 kB / 0.9874 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.0122, allocations: 256 / 0.9874 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.0122, allocations: 0 / 0.9874 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.01278, allocations: 284.3 kB / 0.9876 GB, free: 4.121 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.0128, allocations: 11.89 kB / 0.9877 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.01283, allocations: 4 kB / 0.9877 GB, free: 4.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.01297, allocations: 24.06 kB / 0.9877 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.01315, allocations: 43.89 kB / 0.9877 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.01317, allocations: 0 / 0.9877 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001079/0.01327, allocations: 103.3 kB / 0.9878 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.81e-07/0.01327, allocations: 0 / 0.9878 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002271/0.0135, allocations: 24 kB / 0.9879 GB, free: 3.914 MB / 0.8887 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.0001275/0.01363, allocations: 107.8 kB / 0.988 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006206/0.01425, allocations: 347.7 kB / 0.9883 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01425, allocations: 4 kB / 0.9883 GB, free: 3.414 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.01457, allocations: 161 kB / 0.9884 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.01478, allocations: 12 kB / 0.9885 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.01534, allocations: 262.6 kB / 0.9887 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.313e-05/0.01542, allocations: 71.33 kB / 0.9888 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 4.895e-05/0.01546, allocations: 15.98 kB / 0.9888 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.01551, allocations: 12.5 kB / 0.9888 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of SimCode: time 3.8e-07/0.01551, allocations: 0 / 0.9888 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of Templates: time 0.005109/0.02062, allocations: 2.047 MB / 0.9908 GB, free: 0.8086 MB / 0.8887 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 -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/jenkins/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.001216236501932]